[Moin-devel] CVS: MoinMoin/parser wiki.py,1.80,1.81
J?rgen Hermann
jhermann at users.sourceforge.net
Wed Feb 20 11:33:13 EST 2002
- Previous message (by thread): [Moin-devel] CVS: MoinMoin config.py,1.57,1.58
- Next message (by thread): [Moin-devel] CVS: dist/wiki/data/text HelpOnActions_2fAttachFile,NONE,1.1 HelpOnConfiguration_2fEmailSupport,NONE,1.1 HelpOnSkins,NONE,1.1 HelpOnUserPreferences,NONE,1.1 HelpContents,1.7,1.8 HelpForBeginners,1.4,1.5 HelpForDevelopers,1.2,1.3 HelpMiscellaneous,1.1,1.2 HelpOnAdministration,1.2,1.3 HelpOnConfiguration,1.6,1.7 HelpOnConfiguration_2fSecurityPolicy,1.2,1.3 HelpOnInstalling,1.5,1.6 HelpOnLinking,1.3,1.4 HelpOnProcessingInstructions,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/moin/MoinMoin/parser
In directory usw-pr-cvs1:/tmp/cvs-serv6466/parser
Modified Files:
wiki.py
Log Message:
Added config.allow_numeric_entities
Index: wiki.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/parser/wiki.py,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -r1.80 -r1.81
*** wiki.py 19 Feb 2002 23:08:26 -0000 1.80
--- wiki.py 20 Feb 2002 19:32:34 -0000 1.81
***************
*** 396,399 ****
--- 396,405 ----
+ def _ent_numeric_repl(self, word):
+ """Handle numeric SGML entities."""
+ self._check_p()
+ return self.formatter.rawHTML(word)
+
+
def _li_repl(self, match):
"""Handle bullet lists."""
***************
*** 746,749 ****
--- 752,757 ----
if config.backtick_meta:
rules = rules + r'|(?P<tt_bt>`.*?`)'
+ if config.allow_numeric_entities:
+ rules = r'(?P<ent_numeric>&#\d{1,5};)|' + rules
scan_re = re.compile(rules)
- Previous message (by thread): [Moin-devel] CVS: MoinMoin config.py,1.57,1.58
- Next message (by thread): [Moin-devel] CVS: dist/wiki/data/text HelpOnActions_2fAttachFile,NONE,1.1 HelpOnConfiguration_2fEmailSupport,NONE,1.1 HelpOnSkins,NONE,1.1 HelpOnUserPreferences,NONE,1.1 HelpContents,1.7,1.8 HelpForBeginners,1.4,1.5 HelpForDevelopers,1.2,1.3 HelpMiscellaneous,1.1,1.2 HelpOnAdministration,1.2,1.3 HelpOnConfiguration,1.6,1.7 HelpOnConfiguration_2fSecurityPolicy,1.2,1.3 HelpOnInstalling,1.5,1.6 HelpOnLinking,1.3,1.4 HelpOnProcessingInstructions,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Moin-devel
mailing list