Page MenuHomePhabricator

Pressing Enter in a paragraph in ContentTranslation adds <div> tags
Closed, DuplicatePublic

Description

Pressing Enter in a paragram in ContentTranslation adds <div> tags to the published article.

Such HTML markup is definitely not needed in created pages.

The simple way to handle this would be to convert each paragraph created in this way to a usual wiki syntax paragraph - with two line breaks to separate the paragraphs and without any markup. (Another option would be to add <br /> tags on every line break, but it makes more sense to avoid adding any HTML markup to the wiki syntax of the published article without a specific need.)

(Another issue that it raises is how to move to the next translatable paragraph using keyboard and not mouse, but that's a topic for a separate design task - T109056.)

Event Timeline

Amire80 raised the priority of this task from to Medium.
Amire80 updated the task description. (Show Details)
Amire80 added a project: ContentTranslation.
Amire80 subscribed.
Amire80 renamed this task from Pressing Enter in a paragram in ContentTranslation adds <div> tags to Pressing Enter in a paragraph in ContentTranslation adds <div> tags.Aug 14 2015, 10:15 AM
Amire80 set Security to None.