Home

>

Tools

>

Ghost

>

Releases

>

1.0.1

Ghost Release: 1.0.1

Tag Name: 1.0.1

Release Date: 7/26/2017

Ghost LogoGhost

Open-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.

TL;DR

Ghost 1.0.1 is a minor patch release that fixes critical rendering issues with non-closing HTML tags and improves the build process. This update ensures proper HTML rendering in content, particularly for tags like <br>, and removes unnecessary test files from the release build to optimize package size.

Highlight of the Release

    • Fixed incorrect rendering of non-closing HTML tags like <br>, <img>, etc.
    • Fixed rendering issues with single newlines in markdown
    • Optimized npm package by excluding test files from the release build

Migration Guide

No migration steps are required for this update. This is a patch release that can be installed directly without any additional configuration or migration steps.

Upgrade Recommendations

This update is recommended for all users as it fixes important rendering issues that could affect content display. The patch addresses HTML rendering problems that may cause content to display incorrectly across different browsers.

To upgrade:

  1. Back up your Ghost installation
  2. Follow the standard update procedure for your installation method (Git, Docker, or direct install)
  3. No additional configuration changes are needed after upgrading

Bug Fixes

HTML Tag Rendering Fix

Fixed an issue where non-closing HTML tags (such as <br>, <img>, etc.) were incorrectly rendered as self-closing tags with an end tag (e.g., <br></br>). This invalid HTML was causing browsers to "fix" the markup, resulting in unexpected behavior like duplicate line breaks.

The fix properly handles the following HTML elements:

  • AREA, BASE, BR, COL, COMMAND
  • EMBED, HR, IMG, INPUT, KEYGEN
  • LINK, META, PARAM, SOURCE, TRACK, WBR

Markdown Newline Rendering

Fixed an issue with incorrect rendering of single newlines in markdown content.

New Features

No significant new features were added in this patch release. This update focuses on bug fixes and improvements to the existing functionality.

Security Updates

No security fixes were included in this release.

Performance Improvements

Build Optimization

Improved the npm package by excluding client test files from the release build. Specifically, files matching the pattern core/built/assets/test-*.js have been added to the npm ignore list, resulting in a cleaner and more optimized package.

Impact Summary

Ghost 1.0.1 addresses critical rendering issues that could affect content display across different browsers. The main fix resolves how non-closing HTML tags are handled in the mobiledoc renderer, preventing browsers from incorrectly "fixing" invalid HTML markup that was being generated. This ensures consistent content display, particularly for elements like line breaks (<br>), images, and other self-closing tags.

The release also optimizes the npm package by excluding test files, making installations cleaner and more efficient. While this is a minor patch release, it's important for ensuring content renders correctly for readers and that the editing experience remains reliable for content creators.

Full Release Notes

  • 🐛 fix incorrect rendering of single newlines in markdown

Statistics:

File Changed4
Line Additions4
Line Deletions3
Line Changes7
Total Commits4

User Affected:

  • Content with non-closing HTML tags (like `<br>`, `<img>`, etc.) will now render correctly
  • Markdown content with single newlines will display properly

Contributors:

kevinansfield