DjangoBB

Django based forum engine

  • You are not logged in.

#1 June 27, 2011 16:38:34

ilwoody
Registered: 2011-06-15
Posts: 5
Reputation: +  0  -
Profile   Send e-mail  

signature submit

Hello!

every time I submit my signature it gets “reparsed”. First time I submit

Hello

it becomes

<strong>Hello</strong>

if I resubmit it becomes

&lt;strong&gt;Hello&lt;/strong&gt;

and so and so ..

&amp;amp;amp;amp;lt;strong&amp;amp;amp;amp;gt;- ilwoody&amp;amp;amp;amp;lt;/strong&amp;amp;amp;amp;gt;

Offline

#2 June 27, 2011 17:22:49

ilwoody
Registered: 2011-06-15
Posts: 5
Reputation: +  0  -
Profile   Send e-mail  

signature submit

Preventing that “recursive” behaviour is quite simple, but shouldn't the signature be stored as raw “bbcode” and converted to html only when displayed ? I see something like body and body_html for the posts.

If you want I can work on it .. but first this patch

Attachments:
attachment patch_signature (1.8 KB)

Offline

#3 June 28, 2011 18:44:36

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 307
Reputation: +  6  -
Profile   Send e-mail  

signature submit

oh, maybe better add new field (body_html, body, markup)) like this done in Post model

Offline

Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version