[Libreoffice-commits] help.git: help3xsl/default.css help3xsl/online_transform.xsl

Olivier Hallot olivier.hallot at libreoffice.org
Fri Jun 15 15:12:03 UTC 2018


 help3xsl/default.css          |    4 ++++
 help3xsl/online_transform.xsl |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 2fdf0556202b43940ee003e7d1e6d452c3d11ab7
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
Date:   Thu Jun 14 18:52:12 2018 -0300

    Fix <bascode> rendering for paragraphs
    
    Change-Id: I4c76bac48f3be30dc3bcd358df427843a5f97a7a
    Reviewed-on: https://gerrit.libreoffice.org/55837
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/help3xsl/default.css b/help3xsl/default.css
index bfaa63268..09c818bdd 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -295,6 +295,10 @@ h6 {
     margin-left: 30px;
     margin-right: 30px;
 }
+.bascodepar{
+    font-family: monospace;
+}
+
 /* Basic code syntax highlight */
 
 .identifier,
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 031476757..ccfa94ae5 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -871,7 +871,7 @@
 
 <!-- Insert Basic code snippet  -->
 <xsl:template name="insertbascode">
-    <pre><code><xsl:apply-templates /></code></pre>
+    <pre class="bascodepar"><xsl:apply-templates /></pre><br/>
 </xsl:template>
 
 <!-- Insert Logo code snippet  -->


More information about the Libreoffice-commits mailing list