Changeset 5347 for branches/scratch/pharvey/WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/TML2HTML.pm
- Timestamp:
- 10/22/09 03:54:35 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/scratch/pharvey/WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/TML2HTML.pm
r5240 r5347 47 47 my $TT2 = chr(2); 48 48 49 # SMELL: Item2254: Accomodates a temporary work-around, where TML2HTML 50 # needs to wrap content in <div></div> 51 my $Item2254start = '<div>'; 52 my $Item2254end = '</div>'; 53 49 54 # HTML elements that are palatable to editors. Other HTML tags will be 50 55 # rendered in 'protected' regions to prevent the WYSIWYG editor mussing … … 129 134 130 135 # This should really use a template, but what the heck... 131 return $content; 136 # SMELL: Item2254 - see var declaration up top 137 return $Item2254start . $content . $Item2254end; 138 139 #return $content; 132 140 } 133 141
Note: See TracChangeset
for help on using the changeset viewer.
