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

Bug: colspan is added if an column is empty #17

Open
j-schulz opened this issue Dec 7, 2014 · 0 comments
Open

Bug: colspan is added if an column is empty #17

j-schulz opened this issue Dec 7, 2014 · 0 comments

Comments

@j-schulz
Copy link

j-schulz commented Dec 7, 2014

This is a bug:

use Text::Textile;
my $text = '
| a | a | a |
| b |   | b |
| c | c | c |
| d |   | d |
';
print Text::Textile->new->process($text), "\n";

Output:

<table><tr><td>a</td><td>a</td><td>a</td></tr><tr><td colspan="2">b</td><td>b</td></tr><tr><td>c</td><td>c</td><td>c</td></tr><tr><td colspan="2">d</td><td>d</td></tr></table>

colspan should not be added there.

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

No branches or pull requests

1 participant