Thank you very much Rakugo ! I understood it after changing "<"
"&gt;" to "<" ">" in text editor.
My aim was that Google bot indexed it without amp signs. I didn't find
any solution to this in e-net.

On 1 июн, 12:23, rakugo <[email protected]> wrote:
> Hi Vladimar,
> It would be good to have a better idea of what you are trying to
> achieve.
>
> The javascript function htmlEncode operates on a string and takes no
> argument so has no concept of tiddlers. It html encodes a string, so
> by definition it converts & to &amp; and < to &lt; etc... that's what
> html encoding is! :)
>
> I'm not sure why you picked out this function in particular. Why not
> instead tell us what you are trying to do with TiddlyWiki, and you
> might get some quick responses to how best you can achieve your goals.
>
> Best wishes
> Jon
>
> On May 31, 11:00 am, Vladimir <[email protected]> wrote:
>
> > 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