Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2006-11-11 02:48:20

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [textile] p-tags around definition list

I have been testing this a bit, and it seems that it only works with <div></div> wrapped blocks.
It doesnt work for other HTML tags and neither for TxP tags.

I’m not saying it’s a bug. I didnt want to mean that “it doesn’t work” = “it’s a bug”.

Blocks of HTML elements that aren’t block elements (inline elements like <code></code> or <strong></strong>) will be wrapped by <p></p> and I think that’s a correct behaviour because inline elements should be wrapped by block elements.

Blocks of HTML elements that are block elements (like <div></div> or <blockquote></blockquote>) won’t be wrapped by <p></p> and that’s a correct behaviour too.

Elements like <img /> or TxP tags are also wrapped by <p></p> when there are at the very beginning of the line.

Quoting again from the same FAQ:

To tell Textile to leave a block of HTML alone, use either the notextile.. block modifier, or leave a space at the beginning of each line.

I dont have any bugs to report.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#12 2006-11-11 10:13:25

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: [textile] p-tags around definition list

For the upm_popper, I hacked Marys Plugin:

var insert = 'notextile. <txp:upm_image image_id="'+id+'" form="'+custom_form+'"';

Offline

#13 2006-11-12 01:32:48

jumpserve
New Member
From: atlantic beach, new york
Registered: 2004-05-27
Posts: 9
Website

Re: [textile] p-tags around definition list

When you say use the Textile page to report bugs – there isn’t really a mechanism on that page says “Report bugs here”. Are you saying we should use the contact link ( http://thresholdstate.com/contact/ ) at the bottom of the page?

Offline

#14 2006-11-12 01:37:44

zem
Developer emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579
Website

Re: [textile] p-tags around definition list

When you say use the Textile page to report bugs – there isn’t really a mechanism on that page says “Report bugs here”. Are you saying we should use the contact link ( http://thresholdstate.com/contact/ ) at the bottom of the page?

There’s a Report Bug feature when you preview something on http://textile.thresholdstate.com/.


Alex
tstate

Offline

#15 2006-11-12 04:32:06

jumpserve
New Member
From: atlantic beach, new york
Registered: 2004-05-27
Posts: 9
Website

Re: [textile] p-tags around definition list

Thanks Zem.

I see that now. I didn’t realize you needed to preview before submitting bugs.

Offline

Board footer

Powered by FluxBB