Defect #8623

Wiki Formatting Issue

Added by Josh Davidson over 6 years ago. Updated over 6 years ago.

Status:NewStart date:2011-06-16
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-
Resolution: Affected version:1.2.0

Description

1. your database version - MySQL 5.1.56
2. your Ruby version - 1.8.7 (i686-linux)
3. your Rails version - 2.3.11

Take a look at the output of the text below. Lines 1 and 2 should be separated by a newline.

Formatting test

Pre Block

Line 1

Line 2
  1. sub 1
  2. sub 2

Now, if I add a blank line between the closing pre tag and "Line 1" or between "Line 2" and the numbered list, things are ok.

Here it is again with the pre tag disabled:
Formatting test
< pre>
Pre Block
< /pre>
Line 1

Line 2
  1. sub 1
  2. sub 2

History

#1 Updated by Josh Davidson over 6 years ago

This actually does look right in some browsers, but I don't think the generated HTML is correct with regards to the paragraph tags. Here is another problematic structure:

  1. Adding a table to a numbered bullet |_. HI|_. BYE| |0|1|
  2. Second numbered bullet

# Adding a table to a numbered bullet
|_. HI|_. BYE|
|0|1|
# Second numbered bullet

Table works if there is a blank line after it, but then the numbered bullets restart.

#2 Updated by Etienne Massip over 6 years ago

  • Category set to Text formatting

Also available in: Atom PDF