Page MenuHomePhabricator

Adding language codes wrecks list formatting
Closed, DuplicatePublic

Description

Steps to reproduce:

  1. Type a little list, such as
  2. Select the little list
  3. Set the language for the items in the little list

Nice thing that happens: It doesn't include the list formatting codes (e.g., *) in the span tags.

Problem:

This list:

* One
* Two
* Three

should get turned into:

* <span lang="en" dir="ltr">One</span>
* <span lang="en" dir="ltr">Two</span>
* <span lang="en" dir="ltr">Three</span>

but instead gets turned into this:

* <span lang="en" dir="ltr">One</span>

* <span lang="en" dir="ltr">Two</span>

* <span lang="en" dir="ltr">Three</span>