03-12-2009, 10:47 PM
This way doesn't convert links,...
Macro
result:
<HTML><HEAD></HEAD>
<BODY>This is a link http://www.quickmacros.com and this is another line</BODY></HTML>
Macro
out
str text="This is a link http://www.quickmacros.com[][]and this is another line"
HtmlDoc d.InitFromText(text)
str html=d.GetHtml
out html
;some more processing needed, eg replace " to ", specify charset, etcresult:
<HTML><HEAD></HEAD>
<BODY>This is a link http://www.quickmacros.com and this is another line</BODY></HTML>
