Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing
Дата
Msg-id 9277.1106256196@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-www
"Magnus Hagander" <mha@sollentuna.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?

            regards, tom lane

В списке pgsql-www по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing
Следующее
От: Alexey Borzov
Дата:
Сообщение: Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags