S
S
sht0rm132013-08-19 10:01:12
PHP
sht0rm13, 2013-08-19 10:01:12

Russification in smarti templates, gettext

In general, in the wake of this topic habrahabr.ru/post/115300/ there was a problem, such lines:
<{t}>In order to get access, subscribe <a href="/pay"> subscribe </a><{/t} >
Here the link tag will be printed in plain text, not a tag, what to do?

Those. simple question: how to write HTML tags inside {t}*{/t} tag

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
demimurych, 2013-08-19
@demimurych

Try wrapping what needs to be left intact in
{literal} {/literal}

A
Anisotropic, 2013-08-19
@Anisotropic

Can't share?
<{t}>Для того, чтобы получить доступ оформите подписку<{/t}> <a href="/pay"><{t}>оформить<{/t}> </a>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question