Skip to content

WIP: Fix the extra span being generated (There may be a better fix)#453

Closed
jasonleenaylor wants to merge 1 commit into
release/9.3from
bugfix/LT-22185
Closed

WIP: Fix the extra span being generated (There may be a better fix)#453
jasonleenaylor wants to merge 1 commit into
release/9.3from
bugfix/LT-22185

Conversation

@jasonleenaylor

@jasonleenaylor jasonleenaylor commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

This change is Reviewable

@github-actions

github-actions Bot commented Sep 2, 2025

Copy link
Copy Markdown

⚠️ Commit Message Format Issues ⚠️

commit 8301fa2f35:
1: T5 Title contains the word 'WIP' (case-insensitive): "WIP: Fix the extra span being generated (There may be a better fix)"

propertyTable));
selectors.AddRange(GenerateCssForWritingSystems(baseSelection + " span", configNode.Style, propertyTable));
// add span for the writing system if we aren't already working on one
baseSelection = baseSelection.EndsWith(" span") ? baseSelection : baseSelection + " span";

@hahn-kev hahn-kev Sep 3, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

assuming this is a css selector could you do something like this?

baseSelection, baseSelection span {
   styles...
}

the comma here means OR. So if it already ends with span then you'll generate:
base span, base span span as the selector.

probably not what you want, but the only suggestion I can think of that might spark some other kind of idea.

@jasonleenaylor jasonleenaylor deleted the bugfix/LT-22185 branch September 3, 2025 17:19
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.

2 participants