From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Magnus Hagander <mha(at)sollentuna(dot)net>, Mike Blackwell <maiku41(at)anet(dot)com>, pgsql-docs(at)postgresql(dot)org, pgsql-www(at)postgresql(dot)org |
Subject: | Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing |
Date: | 2005-01-20 21:51:16 |
Message-ID: | 20050120215116.GA3135@dcc.uchile.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-www |
On Thu, Jan 20, 2005 at 04:23:16PM -0500, Tom Lane wrote:
> "Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> > Going out on a line a bit here - and someone who've worked with teh
> > system probably knows for sure but... It looks like {} is used as the
> > template placeholder in the templating system on the website.
>
> > It would seem to me that the fix would be as simple as to set
> > $removeUnknownVariables to false when parsing the docs template, but I'm
> > far from sure at that. And I have no way to test it. And it might break
> > something else. End of disclaimers.
>
> If the docs template is applying any substitution whatsoever to the
> documentation HTML files, it's broken. I don't think the above fix
> is appropriate --- what if the docs contain {foo} where foo does match
> some variable known to the substituter?
Probably the solution is to use some sort of template escaping, like
{literal} in PHP's smarty. Not sure what the site is using.
--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
Al principio era UNIX, y UNIX habló y dijo: "Hello world\n".
No dijo "Hello New Jersey\n", ni "Hello USA\n".
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2005-01-21 08:30:16 | Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags |
Previous Message | Magnus Hagander | 2005-01-20 21:36:33 | Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing |
From | Date | Subject | |
---|---|---|---|
Next Message | Marc G. Fournier | 2005-01-21 01:50:22 | Re: Bad link in mailinglist footer |
Previous Message | Magnus Hagander | 2005-01-20 21:50:46 | Re: Thoughts on the mirroring system etc |