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

Fix printing tables with borders and indentation #861

Merged
merged 1 commit into from
Oct 18, 2023

Commits on Oct 18, 2023

  1. Fix printing tables with borders and indentation

    When printing tables with borders and indentation the resulting markup
    was incorrect. Instead of adding the indentation to the format of the
    first cell, with indent the whole line.
    
    Before:
    ```
      +------  +--------  +-------+
    |   Name | Number | Color |
    |   Erik |      1 | green |
      +------  +--------  +-------+
    ```
    
    After
    ```
      +------+--------+-------+
      | Name | Number | Color |
      | Erik |      1 | green |
      +------+--------+-------+
    ```
    p8 authored and rafaelfranca committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    ec2aa61 View commit details
    Browse the repository at this point in the history