2009-09-17

...and the UltraEdit Macro script to convert code for blogger publishing

Courtesy of Rob, to which I added the & -> & conversion:
InsertMode
ColumnModeOff
HexOff
UnixReOff
IfSel
Find SelectText "&"
Replace All "&"
Find SelectText "<"
Replace All "&lt;"
Find SelectText ">"
Replace All "&gt;"
Find SelectText """
Replace All "&quot;"
Find SelectText "^t"
Replace All " "
Else
GotoLine 1 1
Find "&"
Replace All "&amp;"
Find "<"
Replace All "&lt;"
Find ">"
Replace All "&gt;"
Find """
Replace All "&quot;"
Find "^t"
Replace All " "
EndIf

No comments:

Post a Comment

Note: only a member of this blog may post a comment.