Loading ...
Sorry, an error occurred while loading the content.

Re: [Clip] Replacing the Ampersand pls help..

Expand Messages
  • sisterscape
    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 solution? ...
    Message 1 of 1 , Mar 18, 2005
    • 0 Attachment
      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
      solution?

      --- 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 ^##
      >
      > :SkipConversion
      >
      > It works pretty well except for the &'s.
      >
      > All help very gratefully accepted and appreciated.
      > Matt.
      >
      >
      >
      >



      __________________________________
      Do you Yahoo!?
      Yahoo! Mail - Easier than ever with enhanced search. Learn more.
      http://info.mail.yahoo.com/mail_250
    Your message has been successfully submitted and would be delivered to recipients shortly.