[pmwiki-users] markup for endash conversion

adam overton a at plus1plus1plus.org
Mon Jan 24 18:16:10 CST 2011

i'm finding that in specific situations, i'd like to have my endashes (–) converted to their appropriate ascii code (they break, for instance, when placing them into email subject headers via ?subject=...–...), but the custom markup i'm using doesn't seem to have any effect no matter where i locate it in the translation process. here's what i'm using:

$endashCode = "–";
Markup("endash code", "<inline", "/–/", $endashCode);

any suggestions?
thanks a bunch!

More information about the pmwiki-users mailing list