[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [BP][FIX] Wiki: remove unwanted leading whitespace from page history source view

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a3bab04f2efd_391989bc96095@gitlab-sidekiq-low-urgency-cpu-bound-v2-749c764f6d-zs7cp.mail>

ushindi bienvenu pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
6b141daf by Aksanti Bahiga at 2026-06-24T09:55:15+00:00
[BP][FIX] Wiki: remove unwanted leading whitespace from page history source view
---
* [FIX] Wiki: remove unwanted leading whitespace from page history source view
---
* [FIX] Wiki: remove unwanted leading whitespace from page history source view

See merge request tikiwiki/tiki!10583

See merge request tikiwiki/tiki!10584

- - - - -


1 changed file:

- templates/tiki-pagehistory.tpl


Changes:

=====================================
templates/tiki-pagehistory.tpl
=====================================
@@ -97,9 +97,7 @@
 
     <div>
         <div class="icon_copy_code far fa-clipboard" tabindex="0" data-clipboard-target="#page-source"><span class="copy_code_tooltiptext copy-html" id='copy_source'>Copy to clipboard</span></div>
-        <pre class="codelisting preview-html" data-theme="default" data-wrap="1" dir="ltr" style="white-space:pre-wrap; overflow-wrap: break-word; word-wrap: break-word;" id="page-source">
-            {$sourced|escape}
-        </pre>
+        <pre class="codelisting preview-html" data-theme="default" data-syntax="{$syntax_type}" data-wrap="1" dir="ltr" style="white-space:pre-wrap; overflow-wrap: break-word; word-wrap: break-word;" id="page-source">{$sourced|escape}</pre>
     </div>
 {/if}
 



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/6b141dafb1153a06693e1e49af4573efdff77846

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/6b141dafb1153a06693e1e49af4573efdff77846
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.