Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: TML tags in content, not in source

From: rebol:svendx:dk at: 30-Oct-2000 2:08

Hello Tim, < and > will do fine. If you want to be able to display abitary strings, you could write a function to escape the special HMTL characters. here's a starter html-escape: func [source] [ source: copy source replace/all source "&" "&amp;" replace/all source "<" "<" replace/all source ">" ">" source ] ## print html-escape "<!-- this is a test -->" <!-- this is a test --> Best regards Thomas Jensen On 30-Oct-00, you wrote: