Ticket #68 (closed defect: worksforme)

Opened 20 months ago

Last modified 17 months ago

Strange character at the beggining of lists

Reported by: takacsot Owned by: deveiant
Milestone: Bugfixes Component: MarkdownSyntax
Version: 2.0.7 Severity: normal
Keywords: charset list bug accent Cc:

Description (last modified by deveiant) (diff)

I enter the following text:

START example

1. ö
1. ü
1. ó
1. ő
1. ú
1. é
1. á
1. ű
1. í

- ö
- ü
- ó
- ő
- ú
- é
- á
- ű
- í

END example

And what I got is reallz strange:

   1. �
   2. �
   3. �
   4.
   5. �
   6. �
   7.
   8.
   9.

      �
  10.

      �
  11. �
  12. �
  13.
  14. �
  15. �
  16.
  17.
  18. �

The result HTML is attahced

Attachments

193-dict-history-refactor.rar Download (2.1 KB) - added by takacsot 20 months ago.

Change History

Changed 20 months ago by takacsot

comment:1 Changed 17 months ago by deveiant

  • Keywords charset list bug accent added
  • Status changed from new to assigned
  • Component changed from API to MarkdownSyntax
  • Description modified (diff)

comment:2 Changed 17 months ago by deveiant

  • Status changed from assigned to closed
  • Resolution set to worksforme

I added a spec to try to test this in r136. It does render the two lists a little strangely (i.e., the paragraphs in the middle), but  the Markdown Dingus renders it exactly the same (I took the output of it run against your example as the expectation in the spec). It may be that the recent fixes for encodings fixed it, or perhaps the upgraded Discount in the same commit did.

Anyway, if you can make the spec illustrate the problem, please reopen this ticket and attach the patch. Thanks!

Note: See TracTickets for help on using tickets.