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

Text doc generator does not allow for multi-line rule explanations #2541

Merged

Commits on Jul 10, 2019

  1. Generator/Text: allow for multi-line rule explanations

    While new lines were (accidentally) being respected by the existing code, the line length count was not being reset when a new line character was encountered, causing weird line wrapping.
    
    This has been fixed now by:
    * First splitting the received text into individual lines.
    * Then doing the line wrapping calculations for each line individually.
    
    Includes:
    * Reducing the code complexity by removing an `else` and using an early `continue` instead.
    * Removing some duplicate function calls.
    jrfnl committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    b109358 View commit details
    Browse the repository at this point in the history