HTML export

Lalo Martins (lalo@webcom.com)
Mon, 24 May 1999 16:56:57 -0300


Hexadecimal character references are a feature to be added to
some version of SGML in the future. No browser or HTML-importing
word processor I know of supports it.

It would do absolutely no harm to export them in decimal. Just
change line 582 in ie_exp_HTML.cpp:

<pseudo-diff state="untested" comment="don't just use patch">
--- impexp/xp/ie_exp_HTML.cpp.orig
+++ impexp/xp/ie_exp_HTML.cpp
@@ -582,1 +582,1 @@
- sprintf(localBuf,"&#x%x;",*pData++);
+ sprintf(localBuf,"&#%d;",*pData++);
</pseudo-diff>

If I had the guts/time to recompile all of AbiWord I'd test it.
As my home machine is broken and the only computer time I have
is at work, I can't. I can't subscribe to this list, either. So,
if this works, I'll see it in LXR in a few days and know it did.
:-)

[]s,
|alo
+----

--
      I am Lalo of deB-org. You will be freed.
                 Resistance is futile.

http://www.webcom.com/lalo mailto:lalo@webcom.com pgp key in the web page

Debian GNU/Linux -- http://www.debian.org



This archive was generated by hypermail 1.03b2.