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

Inline Style: $toLine in wrong <th> #13

Open
MathiasGmeiner opened this issue May 27, 2013 · 1 comment
Open

Inline Style: $toLine in wrong <th> #13

MathiasGmeiner opened this issue May 27, 2013 · 1 comment

Comments

@MathiasGmeiner
Copy link

I have changed the $toLine placement from the left to the right in inline.php on line number 131.

From:

foreach($change['changed']['lines'] as $no => $line) {
 $toLine = $change['changed']['offset'] + $no + 1;
 $html .= '<tr>';
 $html .= '<th>'.$toLine.'</th>';
 $html .= '<th>&nbsp;</th>';
 $html .= '<td class="Right"><span>'.$line.'</span></td>';
 $html .= '</tr>';
}

To:

foreach($change['changed']['lines'] as $no => $line) {
 $toLine = $change['changed']['offset'] + $no + 1;
 $html .= '<tr>';
 $html .= '<th>&nbsp;</th>';
 $html .= '<th>'.$toLine.'</th>';
 $html .= '<td class="Right"><span>'.$line.'</span></td>';
 $html .= '</tr>';
}
@kachar
Copy link

kachar commented Oct 21, 2013

PR in #17

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

2 participants