Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is with the Drupal 6 version, so it may be a bug with the porting... but I get errors on nesting of [quote] tags...
If a quote element contains multiple lines, any nested quotes are broken out of the blockquote elements when viewing or previewing the post.
I have the bbcode filter added to the default "filtered html" filter.
Comment | File | Size | Author |
---|---|---|---|
#7 | quoteright.jpg | 18.88 KB | Sophia |
#7 | quotewrong.jpg | 18.24 KB | Sophia |
Comments
Comment #1
naudefj CreditAttribution: naudefj commentedNo changes were made to the regular expressions. If the problem is in version 6, it must be in 5 as well.
Can you please provide an example for us to test?
Comment #2
NaheemSays CreditAttribution: NaheemSays commentedJust tested and it is not there in BBCode with Drupal 5.5.
I input this:
and in Drupal 5.x I got:
In Drupal 6 I got:
Is there a way to test without the built in html-crrector?
Comment #3
NaheemSays CreditAttribution: NaheemSays commentedJust found out how to do that. (simple really - go to "input formats" click "configure" next to the one you want to, and uncheck the "HTML corrector" option).
Unchecking this fixes the problem. Probably some bad interaction between these two then.
What order these run in? any way to change that?
Comment #4
NaheemSays CreditAttribution: NaheemSays commentedChanged title to reflect where the trouble is.
Comment #5
NaheemSays CreditAttribution: NaheemSays commenteddisabling the smart line and paragraph breaks (while keeping the HTML corrector on) seems to fix this.
I will leave this open so you can decide if this is a bug or not. I am no longer sure.
Comment #6
naudefj CreditAttribution: naudefj commentedNo, this is not a bug. Please re-open if you think otherwise.
Comment #7
Sophia CreditAttribution: Sophia commentedI do think it is a bug... I disabled smart line/paragraph breaks, so that is not it.
When the html corrector is OFF, nested quotes display correctly, as shown in the source code:
However, when I turn on the html corrector, the source code shows this:
Unforturtunaly, we had a forum import from phpBB and the html corrector NEEDS to be on for the forum and PM's to show correctly... and even changing the order cannot be done.
Comment #8
Sophia CreditAttribution: Sophia commentedComment #9
volongoto CreditAttribution: volongoto commentedI also have this problem. And as a matter of fact I also just moved from PhpBB to Drupal. In my case quote breaks when I have line breaks in the quote.
Example:
The following is OK:
[quote]Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Nullam pharetra, ante at consequat consectetur, dolor leo aliquam sapien, at tincidunt turpis orci non erat.
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
Vivamus condimentum, odio nec varius auctor, orci nibh posuere metus, vitae malesuada tortor lacus in risus.[/quote]
But the following is not:
[quote]Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Nullam pharetra, ante at consequat consectetur, dolor leo aliquam sapien, at tincidunt turpis orci non erat.
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
Vivamus condimentum, odio nec varius auctor, orci nibh posuere metus, vitae malesuada tortor lacus in risus.[/quote]
Is there a planned fix or work around for this?
Thanks in advance.
(I've noticed that my problem is more related to http://drupal.org/node/449772)
Comment #10
z33k3r CreditAttribution: z33k3r commentedI am having this very problem. If you place the corrector after the BBCode filter, the results for me are not nested and the actual quoted text is not show (though the "USER wrote" still shows). Placing the HTML Corrector before the BBCode filter results in a correctly nested quote container...
Looking for a solution... Hmmm....
Comment #11
z33k3r CreditAttribution: z33k3r commentedAnybody have any updates with this issue?
Comment #12
z33k3r CreditAttribution: z33k3r commentedSo... nothing...