MoinSupport

Changeset

85:bdc05cebca78
2013-10-12 Paul Boddie raw files shortlog changelog graph Fixed the quoting of text presented as an argument to the Verbatim macro.
MoinSupport.py (file) README.txt (file)
     1.1 --- a/MoinSupport.py	Sat Oct 12 19:10:22 2013 +0200
     1.2 +++ b/MoinSupport.py	Sat Oct 12 19:21:46 2013 +0200
     1.3 @@ -974,7 +974,7 @@
     1.4  
     1.5      "Encode the given 'text' in a verbatim representation."
     1.6  
     1.7 -    return "<<Verbatim(%s)>>" % text
     1.8 +    return "<<Verbatim(%s)>>" % quoteMacroArgument(None, text)
     1.9  
    1.10  def getPrettyTitle(title):
    1.11  
     2.1 --- a/README.txt	Sat Oct 12 19:10:22 2013 +0200
     2.2 +++ b/README.txt	Sat Oct 12 19:21:46 2013 +0200
     2.3 @@ -71,6 +71,7 @@
     2.4      attempt is made to inspect Olson time zone information.
     2.5    * Fixed DateSupport to handle NonExistentTimeError.
     2.6    * Added macro argument quoting functions.
     2.7 +  * Fixed the quoting of text presented as an argument to the Verbatim macro.
     2.8  
     2.9  New in MoinSupport 0.4 (Changes since MoinSupport 0.3)
    2.10  ------------------------------------------------------