Bug 689303 - Admonitions with remarked out titles cause rendering issue.
Summary: Admonitions with remarked out titles cause rendering issue.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-21 02:09 UTC by Stephen Gordon
Modified: 2011-04-18 06:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-04-18 06:14:25 UTC
Embargoed:


Attachments (Terms of Use)
Example book (596.28 KB, application/x-gzip)
2011-03-21 02:09 UTC, Stephen Gordon
no flags Details

Description Stephen Gordon 2011-03-21 02:09:38 UTC
Created attachment 486530 [details]
Example book

Description of problem:

When an admonition has a title set but that title is hidden by a remark tag the admonition title bar does not render correctly. If the hidden title had not been included at all a default title would have been used (for example Note) and thus this rendering issue would have been avoided.

Have tested in publican default and publican-redhat brands (see attached for example book).


Version-Release number of selected component (if applicable):

2.5

How reproducible:

Every time.

Steps to Reproduce:
1. Create an admonition with a title.
2. Add <remark> tags around the title (within the <title> tags)
3. Build the book.
4. View the admonition in both pdf and html views.
  
Actual results:

No admonition header bar is displayed, text and image alignment is off.

Expected results:

Default title, in my example book 'Note'.

Additional info:

The attached book contains an example of this behaviour in chapter 1 - have included both source and built output.

Comment 1 Stephen Gordon 2011-03-21 02:18:09 UTC
Happy to admit this is a nice to have at best, there was only one instance in the book I was working with so I just fixed the source...

Comment 2 Jeff Fearn 🐞 2011-04-18 06:14:25 UTC
It's impossible for us to know if the title being empty is deliberate or an accident. If you put the title in there then in addition to the remark add a real title.


Note You need to log in before you can comment on or make changes to this bug.