Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tePLSQL.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -604,8 +604,12 @@ AS

procedure replace_vars( i_key in varchar2, i_value in varchar2 )
as
c_quoted_end constant varchar2(10) := ']''';
c_quoted_end_escaped constant varchar2(10) := ']"';
c_quoted_start constant varchar2(10) := 'q''[';
c_quoted_start_escaped constant varchar2(10) := 'q"[';
begin
p_template := REPLACE (p_template, '${' || i_key || '}', TO_CLOB ( i_value ));
p_template := REPLACE (p_template, '${' || i_key || '}', replace(replace(TO_CLOB ( i_value ), c_quoted_end, c_quoted_end_escaped), c_quoted_start, c_quoted_start_escaped));
end;
BEGIN
if g_render_mode = g_render_mode_fetch_only
Expand Down