Hi,

I tried to save html dom document with the options indicated below.But
I get the

<base href="file:///home/test/testhtml/splitcolumn.html inserted in to
my saved html.I do not want this to happen.

What is the option to prevent that?.Also let me know if Iam missing
something.

long flags=nsIWebBrowserPersist.ENCODE_FLAGS_RAW|
nsIWebBrowserPersist.ENCODE_FLAGS_CR_LINEBREAKS|
nsIWebBrowserPersist.ENCODE_FLAGS_LF_LINEBREAKS|
nsIWebBrowserPersist.PERSIST_FLAGS_NO_BASE_TAG_MODIFICATIONS|
nsIWebBrowserPersist.PERSIST_FLAGS_DONT_FIXUP_LINKS|
nsIWebBrowserPersist.ENCODE_FLAGS_ENCODE_W3C_ENTITIES|
nsIWebBrowserPersist.ENCODE_FLAGS_ENCODE_HTML_ENTITIES|
nsIWebBrowserPersist.ENCODE_FLAGS_ENCODE_BASIC_ENTITIES|
nsIWebBrowserPersist.ENCODE_FLAGS_ENCODE_LATIN1_ENTITIES|
nsIWebBrowserPersist.PERSIST_FLAGS_NO_CONVERSION|
nsIWebBrowserPersist.PERSIST_FLAGS_REPLACE_EXISTING_FILES;


regards,
Krithika

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to