From: Mike N. <mh...@us...> - 2003-01-16 16:19:56
|
On Thu, 2003-01-16 at 07:47, Matthew McNaney wrote: > I have made some code changes to parseInput and parseOutput to try and > help in this regard. >=20 > First, the person who is entering data needs to put [code][/code] around > their text. >=20 > parseInput will then only strip tags from data OUTSIDE the 'code' bracket > tags. >=20 > Next when parseOutput displays the text, all the tags within the code > bracket tags will display as is (ie <, &rt;). The ampersands will be > changed into & >=20 > If the module developer uses both functions, it should allow for what you > require and let people post code examples. Matt, Thanks for working on this problem. Unfortunately, your solution doesn't work when Unicode is required in normal text. Example: K.-P. Kirchd=C3=B6rfer http://leaf-project.org/mod.php?mod=3Duserpage&menu=3D14&page_id=3D7 --=20 Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |