TriNetre - Archive for February 27, 2004
(no longer updated)
Just great :( GPGShell has a word wrap set to 64 by default for its clear-sign function. This can mess up with the HTML tags that one might put into the comment text.
For example, if I am going to paste a link and write the "a href" tag, but suppose the word wrap happens just after the "a" and before "href". GPGShell will split this into two lines and to preserve the formatting, it will remove the space between "a" and "href". Now comes MT's sanitize function. Since sanitize will accept only "a href" as a valid, allowed tag, it will quietly remove "ahref" that it sees. You will not even see this happening unless you do a preview.
To get GPG to behave itself, you need to set "Word-wrap clear-signed text (not within files) at column:" to "0". Launch "Preferences GPGShell" and look at the "GPGTray" tab to get hold of this field.
Back to debugging..