Hey! I've got the answer to my question:
If you add the following definition: [% stag = "[\%" etag = "%\]" %] And then you can print [% text %], here is an example: [source,sh] ---- [% stag = "[\%" etag = "%\]" %] any_text [% stag; 'text_inside_brackets '; etag %] ---- Lex, thank you for your prompt answer! On Thursday, June 2, 2016 at 3:15:16 PM UTC+3, Yaroslav Fedorina wrote: > > Hi, guys! Could you please help me with escaping? > > I have a structure > > [source,sh] > ---- > header_filter=whitelist > header_list=[% IF kamailio.proxy.debug == 'yes' %]P-NGCP-CFGTEST,[% END %] > P-R-Uri,P-D-Uri, > [% IF kamailio.proxy.presence.enable == "yes" %],Event,Expires, > Subscription-State,Accept[% END %] > ---- > > While generating the guides pieces in square brackets are being removed. > How to make them stay as is? This is a part of config string. > > Solutions that I tried and failed: > > \[% > \[\% > \\[% > > Any ideas? Thank you! > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
