CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #2670

Making MathGuard more customizable with CSS

Added by Fabien Udriot over 4 years ago. Updated over 2 years ago.

Status:Closed Start date:2009-02-20
Priority:Should have Due date:
Assignee:Fabien Udriot % Done:

100%

Category:Misc
Target version:-
Votes: 0

Description

I am for removing the double < pre >< / pre > tags around the Mathgard in order to make it more customizable with CSS. In fact, there is 2 overlapping tags "pre" which is a bit useless.

Final output will stay the same. E.g. http://smf-ne.ch/inscription.html

If that's OK, I'll commit this little change.

Index: PHP/mathguard/ClassMathGuard.php
===================================================================
--- PHP/mathguard/ClassMathGuard.php    (revision 16997)
+++ PHP/mathguard/ClassMathGuard.php    (working copy)
@@ -39,7 +39,7 @@
                </table>';

-               return "<pre>".$output."</pre>";
+               return $output;
        }

History

Updated by Fabien Udriot over 4 years ago

  • Status changed from New to Needs Feedback

Updated by Reinhard Führicht over 4 years ago

Absolutely ok. I added the extra

 because the layout broke completely on my test site. 
If the layout is the same without the extra <pre>, please commit the changes.

Updated by Fabien Udriot over 4 years ago

  • Status changed from Needs Feedback to Closed
  • % Done changed from 0 to 100

Committed!

Also available in: Atom PDF