JSON tal formatter

Bug #250842 reported by Eleanor Berger
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

It is often the case that we need to format some string for inclusion inside a <script> tag. To do that we use a json serializer. It would be convenient if we have a formatter that uses the json serializer on strings (or other valid JSON primitives), so that we could write <script tal:content="string:field = ${view/field/fmt:json}" />

Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
tags: added: javascript
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.