Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Jan. 11, 2011 18:29:13

V.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

HTML special chars in form labels


Django known to escape whole form label text.
Still I have a need to insert special characters (nbsp, dashes etc.)
into the label text.
Is there any way to do it or disable escaping?

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 13, 2011 06:44:02

D.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

HTML special chars in form labels


Have you tried safe or safeseq tags, applied to those specific labels?http://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#safeOn Jan 11, 8:27 pm, Vsevolod <vsevolod.krishche...@gmail.com> wrote:
> Django known to escape whole form label text.
> Still I have a need to insert special characters (nbsp, dashes etc.)
> into the label text.
> Is there any way to do it or disable escaping?

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 19th of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support