Page 1 of 1

CDATA stripped from <codeblock> view in Author mode

Posted: Tue Feb 25, 2014 7:21 pm
by Frank Ralf
When viewing https://github.com/jeremygriffith/DITA- ... ACode.dita in Author mode the CDATA within <codeblock> is stripped which IMO shouldn't happen.

Re: CDATA stripped from <codeblock> view in Author mode

Posted: Wed Feb 26, 2014 9:41 am
by Radu
Hi Frank,

Could you give me more details?
I tested your sample, the CDATA section is still inside the codeblock, you can see it as a node in the Outline view. It also has small start/end triangle markers.

Regards,
Radu

Re: CDATA stripped from <codeblock> view in Author mode

Posted: Wed Feb 26, 2014 1:14 pm
by Frank Ralf
Hi Radu,

The issue should have better be named "CDATA not shown as is in Author mode", sorry for not being precise enough.

You are right, the CDATA section is still there and rendered as a tag. I thought everything within a <codeblock> element is rendered "as is".

Sorry for the false alarm.