Changes between Version 1 and Version 2 of WikiGoodiesPlugin
- Timestamp:
- Jan 4, 2006, 3:59:34 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiGoodiesPlugin
v1 v2 6 6 * Support for displaying smileys, as in 7 7 [http://moinmoin.wikiwikiweb.de/HelpOnSmileys MoinMoin] 8 * Support for inserting HTML 4.0 entities 8 * Support for inserting HTML 4.0 entities (named entities and numerical entities) 9 9 * Support for replacing common text idioms by their corresponding symbols 10 10 (e.g. arrows, fractions, etc.) … … 45 45 ''(the argument is the number of columns to be used in the displayed table)'' 46 46 47 For the entities, only the named ones are shown. 48 For help on using the numerical entities, see for example those 49 [http://home.tiscali.nl/t876506/entitiesTips.html tips]. 47 50 48 51 === Known Issues === 49 52 50 That plugin will only be compatible with Trac-0.9.3,51 which is not yet released...53 That plugin only works for now with Trac's trunk version (>= !r2723, 54 in order to support HTML entities). 52 55 53 But it also works for the trunk (!r2713 as of this writing). 54 However, in order to support the HTML 4.0 entities, this 55 additional patch is required: 56 {{{ 57 Index: trac/wiki/formatter.py 58 =================================================================== 59 --- trac/wiki/formatter.py (revision 2713) 60 +++ trac/wiki/formatter.py (working copy) 61 @@ -144,7 +144,6 @@ 62 # between _pre_rules and _post_rules 63 64 _pre_rules = [ 65 - r"(?P<htmlescape>[&<>])", 66 # Font styles 67 r"(?P<bolditalic>%s)" % BOLDITALIC_TOKEN, 68 r"(?P<bold>%s)" % BOLD_TOKEN, 69 @@ -160,6 +159,7 @@ 70 r"(?P<htmlescapeentity>!?&#\d+;)"] 71 72 _post_rules = [ 73 + r"(?P<htmlescape>[&<>])", 74 # shref corresponds to short TracLinks, i.e. sns:stgt 75 r"(?P<shref>!?((?P<sns>%s):(?P<stgt>%s|%s(?:%s*%s)?)))" \ 76 % (LINK_SCHEME, QUOTED_STRING, 77 }}} 56 The plugin will start to work with 0.9.x starting with Trac-0.9.3, 57 which will be probably released only end of this week. 78 58 79 59