[wp-trac] [WordPress Trac] #47903: Linktext with formatting (<sub>) is split into separate links
WordPress Trac
noreply at wordpress.org
Thu Nov 5 03:59:54 UTC 2020
#47903: Linktext with formatting (<sub>) is split into separate links
--------------------------+-------------------------
Reporter: mlinhuberin | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 5.2.2
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
--------------------------+-------------------------
Changes (by noisysocks):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
Hi @mlinhuberin. I was not able to reproduce this using the classic editor
or the block editor.
This is what I did, with the block editor enabled:
1. Created a new post.
2. Typed `CO-Steuer`.
3. Selected `CO` and toggled on ''Subscript'' in the ''More rich text
controls'' menu.
4. Selected `CO-Steuer` and created a link using the ''Link'' button in
the toolbar.
5. Opened the ''Code editor''.
This is what I did, with the block editor disabled:
1. Created a new post.
2. Opened the ''Text'' view.
3. Manually replaced `CO` with `<sub>CO</sub>`.
4. Opened the ''Visual'' view.
5. Selected `CO-Steuer` and created a link using the ''Link'' button in
the toolbar.
6. Opened the ''Text'' view.
In both cases the markup was `<a
href="http://example.com"><sub>CO</sub>-Steuer</a>`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47903#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list