Defect #3499

p=. !image.png! doesn't work in trunk version (rev it doesn't work

Added by IƱaki Baz Castillo about 13 years ago. Updated over 12 years ago.

Status:ClosedStart date:2009-06-15
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:Fixed Affected version:


Hi, previously I used the following code to center an image:

p=. !image.png!

and it worked.

But after the upgrade to trunk version (rev 2791) the image is not displayed and the following text appears centered:


It doesn't occur if I write nothing before the image:


but then the image appears in the left :(


#1 Updated by Mischa The Evil about 13 years ago

I can confirm this behaviour. It works in the following case:

p=. Before !image.png! after

#2 Updated by Mike Powers about 13 years ago

I have the same issue in 0.8.4.stable.2784
A suitable workaround is to insert a hard return after the centering command.


This will properly display the centered image.

#3 Updated by Mike Bolser over 12 years ago

This bug appears to have resurfaced. However, if I put a leading and trailing space around the image, it appears to work fine.

p=.  !image_url! 

#4 Updated by Jean-Philippe Lang over 12 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed in r2999, now including tests for this.

Also available in: Atom PDF