Jakub: this markup is used a lot and very useful. and so that you know, I don't like the word shitty to be used that much about my code. if you think it look bad, fine go ahead and suggest better markup. but you can't just say shit about others work!
On Thu, Feb 2, 2012 at 12:46 PM, Jakub Jankiewicz <jcu...@onet.pl> wrote: > Do you use those shity markup I wanted to remove it from Aiki? > > And I think that this is the proper behaviour > > if ((post_content)) is > > ===0 > this is paragraph one > > This is paragraph 2 > ===0 > > and you put it in blockquote > > <blockquote>[p[ ((post_content)) ]p]</blockquote> > > You will have what you want. this is text sensitive not xml sensitive. > > What about if you have this > > ===0 > <blockquote>this is <span>paragraph one > > This is</span> paragraph 2</blockquote> > ===0 > > You will end with (if it work as you want): > > ===0 > <blockquote><p>this is <span>paragraph one</p> > > <p>This is</span> paragraph 2</p></blockquote> > ===0 > > which will be invalid xml too. How this simple text sensitive > replacement should know how to handle this? > > > On Thu, 02 Feb 2012 09:46:23 -0000 > Christopher Adams <ch...@raysend.com> wrote: > > > 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 > > > > -- > Jakub Jankiewicz > twitter: @jcubic > www: http://jcubic.pl > > _______________________________________________ > Mailing list: https://launchpad.net/~aikiframework-devel > Post to : aikiframework-devel@lists.launchpad.net > Unsubscribe : https://launchpad.net/~aikiframework-devel > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp