Skip to content

LT-22456: Fix sense number 'after' content for multiple ws#782

Merged
mark-sil merged 1 commit intomainfrom
LT-22456
Mar 24, 2026
Merged

LT-22456: Fix sense number 'after' content for multiple ws#782
mark-sil merged 1 commit intomainfrom
LT-22456

Conversation

@mark-sil
Copy link
Copy Markdown
Contributor

@mark-sil mark-sil commented Mar 24, 2026

Changed the Flex display so that before/after content on the sense numbers on main entries is now displayed the same as it is for subentries. To get the display that we want on the second sense number, the user will need to add “) “ to the after content for this node:
Main Entry -> Senses -> Sense Number
Adding this will also cause the “) “ to be added to the Word Export output, so no change to the Word Export code was needed.

Note that the project where this problem existed had a custom Configuration, additional ‘Sense Number’ fields were added.


This change is Reviewable

Changed the Flex display so that before/after content on the sense
numbers on main entries is now displayed the same as it is for
subentries. To get the display that we want on the second sense
number, the user will need to add “) “ to the after content for
this node:
Main Entry -> Senses -> Sense Number
Adding this will also cause the “) “ to be added to the Word Export
output, so no change to the Word Export code was needed.

Note that the project where this problem existed had a custom
Configuration, additional ‘Sense Number’ fields were added.
@github-actions
Copy link
Copy Markdown

NUnit Tests

    1 files  ±0      1 suites  ±0   6m 1s ⏱️ -21s
4 074 tests ±0  4 003 ✅ ±0  71 💤 ±0  0 ❌ ±0 
4 083 runs  ±0  4 012 ✅ ±0  71 💤 ±0  0 ❌ ±0 

Results for commit a9e98f5. ± Comparison against base commit bac16b8.

Copy link
Copy Markdown
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@jasonleenaylor reviewed 2 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on mark-sil).

@mark-sil mark-sil merged commit 2565ac1 into main Mar 24, 2026
7 checks passed
@mark-sil mark-sil deleted the LT-22456 branch March 24, 2026 19:01
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

Successfully merging this pull request may close these issues.

3 participants