Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-11 00:31:45

e-sven
Archived Plugin Author
From: Berlin, Germany
Registered: 2004-11-12
Posts: 17
Website

[textile] Spanned Images not working

Subject says it all. Well almost…

text %(class#id)!/img.jpg!% text

is translated to:

text <span>!/img.jpg!</span> text

and

text %(class#id)[!/img.jpg!]% text

is translated to:

text <span>img src="/img.jpg" alt="" /></span> text

Sven
<bc />

Offline

#2 2007-05-11 01:08:38

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [textile] Spanned Images not working

I’m not sure whether images can be spanned or not.

Textile Bug Reporting

This works though:

text !(class#id)/img.jpg! text

Offline

#3 2007-05-11 01:21:22

e-sven
Archived Plugin Author
From: Berlin, Germany
Registered: 2004-11-12
Posts: 17
Website

Re: [textile] Spanned Images not working

Solved it by simply moving the call to $this->image() after the call to $this->span() in Textile::graf(). Don’t know if I broke something, but for now it looks ok.


Sven
<bc />

Offline

#4 2007-05-11 03:27:42

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

Re: [textile] Spanned Images not working

r2338 uses a different solution.


Alex

Offline

Board footer

Powered by FluxBB