After playing for a while, I've found some weird patterns:
- setting a top or bottom margin on the ol works as expected in Safari but seems to be zero when displayed in the Installer - setting a top or bottom margin on an li seems to work predictably in both Safari and the Installer - setting a top margin on the heading seems to work in Safari but appears as zero in the Installer - setting a bottom margin on the heading seems to work in both Safari and the Installer
Based on those results, a possible workaround could be to put bottom margins on the last li's rather than relying on the ol's. That makes the conversion from Markdown to HTML a little more complicated, but at least it works.
Thanks, Andrew On Dec 14, 2012, at 7:50 AM, Beatrix Willius wrote: The basic CSS seems to be different.
What happens if you add an inline CSS style with a larger margin-bottom for the ol or a margin top for p and the headers? On 13.12.2012, at 22:13, Andrew Keller < email@hidden> wrote: In an effort to streamline the process of maintaining the release notes in the Readme that is displayed in our installer package, we are experimenting with storing the Readme as Markdown and compiling it into HTML when it is needed in the installer package. For the most part, it works quite well.
However, it seems that there is a small problem with the way Installer renders the HTML When Installer renders the HTML, it seems to consider the margin-bottom of all ordered and unordered lists to be zero.
Upon further investigation, it looks like textutil has the same problem.
In other words, for the following HTML:
<ol> <li>Item</li> </ol> <p>paragraph</p>
Safari displays:
• Item
paragraph
Whereas Installer displays:
• Item paragraph
As you can imagine, this isn't really a "big" problem, but it looks a lot worse when the text following the list is an H2. Has anyone seen this before? Is there any way to make Installer render the file correctly?
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|