We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need a cdata section which contains ecmascript.
It contains the greater & less than signs, <> amongst others.
When printing, these get mangled into their html id's, < >
This is wrong. the cdata section should not be encoding these or any other characters.
As is, this breaks the ecmascript.
If this encoding is required, it should be enabled via a switch, and should not happen as default.
The text was updated successfully, but these errors were encountered:
FWIW, this small patch did it for me...
`diff --git a/dom/dom-core-nodes.adb b/dom/dom-core-nodes.adb index 451a43e..1b2bdf3 100644 --- a/dom/dom-core-nodes.adb +++ b/dom/dom-core-nodes.adb @@ -1487,6 +1487,14 @@ package body DOM.Core.Nodes is end; end if;
when Cdata_Section_Node =>
Put (Stream, "<![CDATA[", Encoding);
Newline;
Put (Stream, Node_Value (N), Encoding);
Put (Stream, "]]>", Encoding);
when others => Print_String (Stream, Node_Value (N), EOL_Sequence, Encoding); end case;
`
Sorry, something went wrong.
fedor-rybin
No branches or pull requests
I need a cdata section which contains ecmascript.
It contains the greater & less than signs, <> amongst others.
When printing, these get mangled into their html id's, < >
This is wrong. the cdata section should not be encoding these or any other characters.
As is, this breaks the ecmascript.
If this encoding is required, it should be enabled via a switch, and should not happen as default.
The text was updated successfully, but these errors were encountered: