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

TML tags in content, not in source

 [1/2] 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:

 [2/2] from: tim::johnsons-web::com at: 29-Oct-2000 18:44

Hey Thomas: That's exactly what I was looking for! I had a slightly different approach in mind, but I like your solution better. :) Thanks -Tim Thomas Jensen wrote: