Public bug reported:

I noticed this while creating an RSS feed in Aiki:

Let's say my ((post_content)) looks like this:

===0
<blockquote>this is paragraph one

This is paragraph 2</blockquote>
===0

Then the output of [p[ ((post_content)) ]p] will be

====
<p>
<blockquote>this is paragraph one</p><p>
This is paragraph 2</blockquote></p><p>
====

You see how the </p><p> is located INISDE the <blockquote>?

This will generate an invalid XML warning:

Opening and ending tag mismatch: blockquote line 0 and p

My temporary fix is to use [br[ instead of [p[

But it would be nice if [p[ doesn't ever produce invalid markup!

** Affects: aikiframework
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Aiki
Framework Developers, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/925356

Title:
  The [p[ ]p] command can create invalid markup in certain edge cases

Status in Aiki Framework:
  New

Bug description:
  I noticed this while creating an RSS feed in Aiki:

  Let's say my ((post_content)) looks like this:

  ===0
  <blockquote>this is paragraph one

  This is paragraph 2</blockquote>
  ===0

  Then the output of [p[ ((post_content)) ]p] will be

  ====
  <p>
  <blockquote>this is paragraph one</p><p>
  This is paragraph 2</blockquote></p><p>
  ====

  You see how the </p><p> is located INISDE the <blockquote>?

  This will generate an invalid XML warning:

  Opening and ending tag mismatch: blockquote line 0 and p

  My temporary fix is to use [br[ instead of [p[

  But it would be nice if [p[ doesn't ever produce invalid markup!

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/925356/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to