developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
#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: |
Description
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 12 years ago by laurentj
- Documentation needed set
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
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.