Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bfe94cd

Browse files
handle nested CDATA sections to fix bug #1073
1 parent 9ea6ab4 commit bfe94cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/reporters/ut_realtime_reporter.tpb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ create or replace type body ut_realtime_reporter is
252252
) is
253253
begin
254254
if a_content is not null then
255-
self.print_xml_fragment('<' || a_name || '><![CDATA[' || a_content || ']]></' || a_name || '>');
255+
self.print_xml_fragment('<' || a_name || '><![CDATA[' || ut_utils.to_cdata(a_content) || ']]></' || a_name || '>');
256256
end if;
257257
end print_cdata_node;
258258

0 commit comments

Comments
 (0)