Ticket #26 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Emphasis for small words (1-2 letters) is broken

Reported by: bluecloth@… Owned by: deveiant
Priority: normal Milestone: Markdown 1.0.1
Component: MarkdownSyntax Version: 1.0.0
Severity: normal Keywords: syntax emphasis small words
Cc: bluecloth@…

Description

It looks like emphasis for small words is broken as this test demonstrates:

  def test_small_word_with_emphasis
    input = %{this _is_ a test}
    output = BlueCloth.new(input).to_html
    assert_equal("<p>this <em>is</em> a test</p>", output)
  end

Change History

Changed 3 years ago by deveiant

  • keywords syntax emphasis small words added
  • status changed from new to assigned
  • version set to 1.0.0
  • milestone set to Markdown 1.0.1

Thanks for the report. The test and the fix will be in the next release.

Changed 3 years ago by deveiant

  • component changed from API to MarkdownSyntax

Changed 3 years ago by deveiant

  • status changed from assigned to closed
  • resolution set to duplicate

Duplicate of #13

Note: See TracTickets for help on using tickets.