Opened 16 years ago

Closed 16 years ago

#6132 closed (fixed)

escapejs filter doesn't work

Reported by: Ben Walton <benwalton@…> Owned by: nobody
Component: Template system Version: dev
Severity: Keywords: escapejs
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'm running trunk > 6892.

When running a simple template

{{ var|escapejs }}

I get

Invalid filter: 'escapejs'

Replicated on 3 different machines.

Attachments (2)

6132_patch.js (422 bytes ) - added by Ben Walton <benwalton@…> 16 years ago.
6132_patch.diff (422 bytes ) - added by Ben Walton <benwalton@…> 16 years ago.

Download all attachments as: .zip

Change History (4)

by Ben Walton <benwalton@…>, 16 years ago

Attachment: 6132_patch.js added

by Ben Walton <benwalton@…>, 16 years ago

Attachment: 6132_patch.diff added

comment:1 by Ben Walton <benwalton@…>, 16 years ago

Has patch: set

Submitted patch. It was missing the register.filter

comment:2 by Jacob, 16 years ago

Resolution: fixed
Status: newclosed

(In [6897]) Fixed #6132: note to self: when you add new template tags, you need to remember to actually register them. Thanks, Ben Walton.

Note: See TracTickets for help on using tickets.
Back to Top