is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#677 closed bug (wontfix)

cannot assign a var and reuse it in meta template

Reported by: bibo Owned by:
Priority: normal Milestone:
Component: jelix:tpl Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:


if i do {assign $var="here"} {meta_html description "some text ".$var}

it does not result in a meta content = "some text here" whereas if $var is defined in a controller, it does.

Change History (2)

comment:1 Changed 13 years ago by laurentj

  • Documentation needed set
  • Resolution set to wontfix
  • Status changed from new to closed

It is impossible to fix this issue, since meta contents are evaluated before the content of the template it self.

However, this behavior should be documented : the variables used in a meta tag should be only variables assigned by the code using the template.

comment:2 Changed 13 years ago by laurentj

  • Documentation needed unset

doc done.

Note: See TracTickets for help on using tickets.