wordpress-mobile / WordPress-Editor-Android

⛔️ [DEPRECATED] A reusable Android rich text editor component.
GNU General Public License v2.0
188 stars 50 forks source link

Use "em" and "strong" tags instead of "i" and "b" tags for italics #459

Closed rachelmcr closed 7 years ago

rachelmcr commented 7 years ago

Currently, when you add bold and italic formatting to text in the visual editor, it is rendered in the HTML as b and i tags.

However, in the Calypso web editor, bold and italic formatting are rendered as strong and em tags. We should update the app's editor to match.

h/t @lancewillett for sharing a link to this post explaining more about why this is important for localization: https://www.w3.org/International/questions/qa-b-and-i-tags

Tested on Nexus 9, Android 7.0, WPAndroid alpha-28
aforcier commented 7 years ago

@rachelmcr I think this is a dup of https://github.com/wordpress-mobile/WordPress-Editor-Android/issues/206

rachelmcr commented 7 years ago

Oops, so it is. I missed that while searching; closing this as a dupe!