WordPress-iOS
WordPress-iOS copied to clipboard
Notifications: comments no longer support pre-formatted text
Current stable version of the app (supports pre-formatted text):
Current beta version (displaying merriweather only):
I tested a comment with preformatted text (using <pre>
tags), and the notification used the correct formatting in terms of line breaks and spaces. The only issue I saw was the font, which used the regular font instead of a monospace font.
Since the only issue is the font used for pre-formatted text, I'm going to mark this issue as low-priority. Please update if this is causing any other issues for you.
This is still an issue; a couple notes:
- This matches the current behavior for
<pre>
tags in comments in Calypso web (web notifications display those preformatted comments without additional styling) - Based on timing and behavior, the change happened in this commit where we switched to using Merriweather in notifications comment detail.
Let's look at this when we investigate making the switch away from Merriweather.
Can confirm this is still an issue after the switch to Noto. Testing the 7.1 beta, this:

becomes this:

It looks like the font declaration is just overriding everything, and we need to specify Courier for pre
and a monospace font (Menlo?) for code
.
This issue has been marked as stale because:
- It has been inactive for the past year.
- It isn't in a project or a milestone.
- It hasn’t been labeled
[Pri] Blocker
,[Pri] High
, orgood first issue
.
Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority (cc @designsimply).
This seems to still be an issue.
The comment formatting in Notification Details has improved, but it still doesn't match with the formatting in the Comments list screen. So, while the initial issue is resolved, I believe the expected behavior is for the formatting in Notification Details to match that of the Comments screen.
Notifications Details | Comments List |
---|---|