[debexpo-devel] [PATCH] Don't escape tags in /ppa/<email>
Andrey Rahmatullin
wrar at wrar.name
Sat Nov 6 05:45:52 CET 2010
Mako escapes HTML tags passed to ${} by default, this is not needed in these
cases.
Signed-off-by: Andrey Rahmatullin <wrar at wrar.name>
---
debexpo/templates/ppa/index.mako | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debexpo/templates/ppa/index.mako b/debexpo/templates/ppa/index.mako
index e770fb8..e3265de 100644
--- a/debexpo/templates/ppa/index.mako
+++ b/debexpo/templates/ppa/index.mako
@@ -5,14 +5,14 @@
<h1>${ _('''%s's personal package archive''') % c.user.name }</h1>
-<p>${ _('''To access these personal package archives, insert the following lines into your <tt>/etc/apt/sources.list</tt>:''') }</p>
+<p>${ _('''To access these personal package archives, insert the following lines into your <tt>/etc/apt/sources.list</tt>:''') | n }</p>
<pre>
deb ${ c.config['debexpo.server'] }/ppa/${ c.user.email } distribution component1 [component2 ...]
deb-src ${ c.config['debexpo.server'] }/ppa/${ c.user.email } distribution component1 [component2 ...]
</pre>
-<p>${ _('Note: Make sure you replace the <i>distribution</i> and <i>component</i> variables in the above lines.') }</p>
+<p>${ _('Note: Make sure you replace the <i>distribution</i> and <i>component</i> variables in the above lines.') | n }</p>
% else:
--
1.7.2.3
More information about the debexpo-devel
mailing list