Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More ergonomic table-input HTML #6516

Merged
merged 3 commits into from
Apr 15, 2023
Merged

More ergonomic table-input HTML #6516

merged 3 commits into from
Apr 15, 2023

Conversation

fregante
Copy link
Member

@fregante fregante commented Apr 14, 2023

I think this generates a slightly more usable HTML:

  • if there's only one column, print one HTML line per table row
  • reduce the indentation because it can issues in Markdown, like:
<table>
<tr>
	<td> 

	<td>

<tr>
	<td>

	<td>

</table>

Causes:

<td>
<td>

The extra line breaks are used sometimes to re-enable markdown parsing in the table, like:

<table>
<tr>
	<td>

[link](/file)

</table>

link

Test URLs

Here

Screenshot

fixed

@fregante fregante marked this pull request as ready for review April 14, 2023 09:56
@fregante fregante merged commit b484f06 into main Apr 15, 2023
10 checks passed
@fregante fregante deleted the ergonomic-table-input branch April 15, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

1 participant