I ask for some help.

Is there any way for the function "String.prototype.htmlEncode" do not
change "<" and ">" to "&lt;" "&gt;" for tiddler tagged with some
special tag.

the lines in Tiddlywiki are:

// Convert & to "&amp;", < to "&lt;", > to "&gt;" and " to "&quot;"
String.prototype.htmlEncode = function()
{
        return this.replace(/&/mg,"&amp;").replace(/</mg,"&lt;").replace(/>/
mg,"&gt;").replace(/\"/mg,"&quot;");
};

I don't know Java, please help if anybody can!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to