Project

General

Profile

Actions

Defect #30099

open

Multiple blank lines in pre tags are not preserved in Textile

Added by Go MAEDA over 5 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Text formatting
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Line breaks should be rendered intact in pre blocks but consecutive line breaks are not rendered in Textile. It works as expected in Markdown.
Input:

Expected:

Actual:


Files

screenshot-input@2x.png (8.46 KB) screenshot-input@2x.png Go MAEDA, 2018-12-05 03:53
screenshot-expected@2x.png (10.1 KB) screenshot-expected@2x.png Go MAEDA, 2018-12-05 03:53
screenshot-actual@2x.png (9.77 KB) screenshot-actual@2x.png Go MAEDA, 2018-12-05 03:53
30099.patch (1.42 KB) 30099.patch Takenori TAKAKI, 2019-02-18 05:37
30099-fixed-30987.patch (1.23 KB) 30099-fixed-30987.patch Takenori TAKAKI, 2019-03-19 09:53

Related issues

Related to Redmine - Defect #30987: Unnecessary empty lines are displayed when syntax highlightingClosed

Actions
Actions

Also available in: Atom PDF