Re: [Clip] Replacing the Ampersand pls help..
- Maybe I'm missing something but Tidy finds and replaces all the
ampersands - even in URLs - when I run it. Wouldn't this be the easiest
--- roughhouserounder@... wrote:
> Here's the clip I am using, I thought maybe if I post the entire clip
> someone may see where I'm going wrong??:
> ;Converts the CURRENT open non-HTML document to HTML
> ^!Continue This Clip will convert the CURRENT open non-HTML document
> to HTML. Continue?
> ;Skip the conversion process if the document has an HTML extension or
> is a Clipbook library
> ^!IfTrue ^$IsClipDoc$ SkipConversion
> ^!IfTrue ^$IsHtmlDoc$ SkipConversion
> ;Convert text to HTML format
> ^!Toolbar Document to HTML
> ^!IfError SkipConversion
> ;Place the cursor at the start of the document
> ^!Jump Text_Start
> ;^!Replace "http://[a-z0-9\.\/\-\_\'\?\=\,\+\%\;]*" >> "<a
> href="&">click here</a>" RAWI
> ;Save converted document if users wants this done automatically
> ;^!IfFalse ^?[Automatically save converted documents?==_Yes|No] Skip
> ;^!Save As ^##
> It works pretty well except for the &'s.
> All help very gratefully accepted and appreciated.
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.