Textile behavior

4 views
Skip to first unread message

AssimovT

unread,
Jul 18, 2008, 8:32:37 AM7/18/08
to Lovd by Less
hiya

Can anyone tell if this is correct behavior of textile in Lovd blogs?
Posting the following text does not produce the <ol>,<ul>,<li> tags

<p>Creating and Loading Tabs. To open a new tab, press CtrlCmd+T,
select File > New Tab, or double-click an empty space in the Tab Bar.</
p>
<p>To load a link in a tab, you can do one of the following:</p>

* Middle-click the link. (If you have a mouse wheel, clicking the
wheel is equivalent to middle-clicking.)
* Drag the link and drop it on an empty space in the Tab Bar. (If only
one web page is open, the Tab Bar may be hidden. See Customizing
Tabbed Browsing for information on how to change this.)
* Drag and drop the link onto a tab to open the link in that tab.
* Right-clickPress Ctrl, click on the link, and choose Open Link in
New Tab from the context menu.

However, according to http://www.textism.com/tools/textile/index.php
converter it works fine.

Tair

Steven A Bristol

unread,
Jul 21, 2008, 10:12:50 AM7/21/08
to lovdb...@googlegroups.com

That looks right, can you pastie your code?

steve

AssimovT

unread,
Jul 28, 2008, 7:59:28 AM7/28/08
to Lovd by Less
Steve, I havent changed the code. I also tested it with freshly cloned
lovd and on try.lovd and I get the same behavior. Somehow, when adding
paragraphs together with numbering or listing in blog posts they stop
working.

Try to paste the text in my initial message to try.lovd blog and you
wont see <ul>,<li>,<ol> tags.

Could it be the RedCloth bug?

Tair

On Jul 21, 5:12 pm, "Steven A Bristol" <st...@lesseverything.com>
wrote:
> On Fri, Jul 18, 2008 at 8:32 AM, AssimovT <assim...@gmail.com> wrote:
>
> > hiya
>
> > Can anyone tell if this is correct behavior of  textile in Lovd blogs?
> > Posting the following text does not produce the <ol>,<ul>,<li> tags
>
> > <p>Creating and Loading Tabs. To open a new tab, press CtrlCmd+T,
> > select File > New Tab, or double-click an empty space in the Tab Bar.</
> > p>
> > <p>To load a link in a tab, you can do one of the following:</p>
>
> > * Middle-click the link. (If you have a mouse wheel, clicking the
> > wheel is equivalent to middle-clicking.)
> > * Drag the link and drop it on an empty space in the Tab Bar. (If only
> > one web page is open, the Tab Bar may be hidden. See Customizing
> > Tabbed Browsing for information on how to change this.)
> > * Drag and drop the link onto a tab to open the link in that tab.
> > * Right-clickPress Ctrl, click on the link, and choose Open Link in
> > New Tab from the context menu.
>
> > However, according tohttp://www.textism.com/tools/textile/index.php

Steven A Bristol

unread,
Jul 28, 2008, 8:43:42 AM7/28/08
to lovdb...@googlegroups.com
On Mon, Jul 28, 2008 at 7:59 AM, AssimovT <assi...@gmail.com> wrote:
>
> Steve, I havent changed the code. I also tested it with freshly cloned
> lovd and on try.lovd and I get the same behavior. Somehow, when adding
> paragraphs together with numbering or listing in blog posts they stop
> working.
>
> Try to paste the text in my initial message to try.lovd blog and you
> wont see <ul>,<li>,<ol> tags.
>
> Could it be the RedCloth bug?
>
> Tair

This code snippet:
<p>testing a p tag</p><br />
<ol><br /><li>1</li><br /><li>2</li><br /></ol>

works in both of these places:
http://try.lovdbyless.com/forums/1-i-love-lovd-by-less/topics/5-hmmm
http://try.lovdbyless.com/profiles/1-steven-bristol/blogs

What I am doing right/wrong?

steve

AssimovT

unread,
Jul 28, 2008, 9:35:08 AM7/28/08
to Lovd by Less
You are right plain html works fine.

However, using textile markup it doesn't produce p tags, try to
compare html output of the following text in lovd and
http://textism.com/tools/textile/index.php

-------------------
Testing a paragraph

Testing a paragraph

* Bullet 1
* Bullet 2
* Bullet 3
-------------------

Cheers,

Tair


On Jul 28, 3:43 pm, "Steven A Bristol" <st...@lesseverything.com>
wrote:
> On Mon, Jul 28, 2008 at 7:59 AM, AssimovT <assim...@gmail.com> wrote:
>
> > Steve, I havent changed the code. I also tested it with freshly cloned
> > lovd and on try.lovd and I get the same behavior. Somehow, when adding
> > paragraphs together with numbering or listing in blog posts they stop
> > working.
>
> > Try to paste the text in my initial message to try.lovd blog and you
> > wont see <ul>,<li>,<ol> tags.
>
> > Could it be the RedCloth bug?
>
> > Tair
>
> This code snippet:
> <p>testing a p tag</p><br />
> <ol><br /><li>1</li><br /><li>2</li><br /></ol>
>
>  works in both of these places:http://try.lovdbyless.com/forums/1-i-love-lovd-by-less/topics/5-hmmmhttp://try.lovdbyless.com/profiles/1-steven-bristol/blogs

Steven A Bristol

unread,
Jul 28, 2008, 9:40:55 AM7/28/08
to lovdb...@googlegroups.com
On Mon, Jul 28, 2008 at 9:35 AM, AssimovT <assi...@gmail.com> wrote:
>
> You are right plain html works fine.
>
> However, using textile markup it doesn't produce p tags, try to
> compare html output of the following text in lovd and
> http://textism.com/tools/textile/index.php
>
> -------------------
> Testing a paragraph
>
> Testing a paragraph
>
> * Bullet 1
> * Bullet 2
> * Bullet 3
> -------------------
>
> Cheers,
>
> Tair
>
>

It might have something to do with sanitze textilize. PDI.

steve

Reply all
Reply to author
Forward
0 new messages