quote.module's current behavior is to output div and br tags to offset the quoted text. This can be easily broken by users and is a problem for sites with HTML completely disabled. Therefore, I'd like to see a filter creating those divs instead. It would operate in a fashion similar to common forum software:


(please mentally replace the <>'s below with []'s... I tried to enter them, but title.module kept making them links.)

<quote="User Name">Whatever they happened to say</quote>

... or ...

<quote>A quote whose author will remain nameless</quote>

Moshe: If you have no objections, I'll begin work on this.

Comments

moshe weitzman’s picture

no objection from me. not sure why i didn't think of that ... thanks.

TDobes’s picture

Completed in CVS... I also went ahead and uncommented the code for quoting comments.

moshe weitzman’s picture

any reason why we just get rid of 'quote_filter_enabled' setting and just assume it is true. that is, just get rid of the old way.

TDobes’s picture

I've removed the old way of quoting and the variable. I also made the module set a default subject for quoted replies. Without a default subject, comment.module was creating a subject containing the quote tags.

Anonymous’s picture