KyleRombach / wmd-new

Automatically exported from code.google.com/p/wmd-new
0 stars 0 forks source link

Fix the numbered list creation algorithm #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Type a list with each step on its own line

one
two
three

2. Highlight list and click the numbered list button
3. Rage at the resulting list

  1. one two three

What is the expected output? What do you see instead?

I want this:

one
two
three

to look like this:

 1. one
 2. two
 3. three

What version of the product are you using? On what operating system?

unknown version in chrome/ie

Please provide any additional information below.

The type-list/highlight/format-list pattern is common and any normal editor 
allows you to do this without deformatting your list and placing multiple lines 
on a single line.  Stop doing this, please.

Original issue reported on code.google.com by yesthatm...@gmail.com on 16 Jul 2009 at 1:29

GoogleCodeExporter commented 8 years ago
This also occurs for bulleted lists.

Original comment by dayton.s...@gmail.com on 10 Apr 2012 at 8:20