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

Consider trimming leading/trailing whitespace in Link elements #30

Closed
io7m opened this issue Sep 14, 2024 · 0 comments
Closed

Consider trimming leading/trailing whitespace in Link elements #30

io7m opened this issue Sep 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@io7m
Copy link
Member

io7m commented Sep 14, 2024

The lack of trimming can result in the following:

trail

The source text is:

        open and you will be given an opportunity to scan a QR code. Assuming the QR code is correctly scanned, the 
        <Link target="161ae260-7a37-444c-95de-65198fae2369">
        bucket configuration
      </Link> screen will open and you'll be given a chance to review and/or modify the parsed configuration values.
      </Paragraph>

The newline after bucket configuration causes the problem.

@io7m io7m added bug Something isn't working enhancement New feature or request labels Sep 14, 2024
@io7m io7m self-assigned this Sep 14, 2024
@io7m io7m closed this as completed in ae55bf0 Sep 14, 2024
io7m added a commit that referenced this issue Sep 16, 2024
Change: Add MULTIPLE_FILE_INDEX_ONLY index generation. (Ticket: #29)
Change: Add the ability to add web cover images. (Ticket: #27)
Change: Change CSS to a form that scales with screen sizes. (Ticket: #28)
Change: Formal items were being assigned the wrong CSS class. (Ticket: #26)
Change: Use normalize-space() on link targets. (Ticket: #30)
io7m added a commit that referenced this issue Sep 16, 2024
Release: com.io7m.xstructural 1.9.0
Change: Add MULTIPLE_FILE_INDEX_ONLY index generation. (Ticket: #29)
Change: Add the ability to add web cover images. (Ticket: #27)
Change: Change CSS to a form that scales with screen sizes. (Ticket: #28)
Change: Formal items were being assigned the wrong CSS class. (Ticket: #26)
Change: Use normalize-space() on link targets. (Ticket: #30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant