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

Support HTML5 style alignment with CSS properties instead of just TH align #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jleider
Copy link

@jleider jleider commented Feb 21, 2018

No description provided.

@michbart
Copy link

Hello @domchristie!
Would you take a look at this PR, please? I have encountered problem with tables rendered by Redmine RedCarpet Formatter, text alignment is ignored and this change would solve it.

Table rendered by Redmine RedCarpet Formatter:

<table>
  <tbody>
    <tr><th>Name</th><th style="text-align: left;">Surname</th></tr>
    <tr><td>Foo</td><td>Bar</td></tr>
  </tbody>
</table>

Expected output

| Name | Surname |
| --- | :-- |
| Foo | Bar |

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants