[wp-meta] [Making WordPress.org] #20: Possible for user's to break layout when adding forum posts
Making WordPress.org
noreply at wordpress.org
Thu Feb 6 00:16:36 UTC 2020
#20: Possible for user's to break layout when adding forum posts
-------------------------------------+-----------------------------
Reporter: siobhyb | Owner: SergeyBiryukov
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: Support Forums | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+-----------------------------
Comment (by dd32):
Perhaps we could tighten this up in a different way..
- Match on `<([ou]l)>(.*?)</$1>` to separate it into lists and non-list
content
- Replace `<li>` with `<ul><li>` only outside of the list content matches
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/20#comment:20>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list