Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[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.
This works though:
text !(class#id)/img.jpg! text
Offline
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