You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Header html tags used in table header or body cells end up not previewing properly in RT mode and mangle the table upon round-trip. It works in current editor when saved to the site - renders properly.
To Reproduce
MD mode, create table, add an h1 html tag in any cell around the text
Go to RT mode, observe that the tag has been transformed as a literal
Go back to MD mode and the table syntax is all messed up and mangled
Expected behavior
Ideally we would support header elements in table cells. The GH MD table spec does not mention it, but the current editor and on-side rendering support it. If we decide not to support it, should at least allow round-trip without destroying the table markdup.
Screenshots
Desktop (please complete the following information):
Windows 11 Chrome 103
Describe the bug
Header html tags used in table header or body cells end up not previewing properly in RT mode and mangle the table upon round-trip. It works in current editor when saved to the site - renders properly.
To Reproduce
h1
html tag in any cell around the textExpected behavior
Ideally we would support header elements in table cells. The GH MD table spec does not mention it, but the current editor and on-side rendering support it. If we decide not to support it, should at least allow round-trip without destroying the table markdup.
Screenshots
Desktop (please complete the following information):
Windows 11 Chrome 103
Additional context
The text was updated successfully, but these errors were encountered: