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

The link rel attribute should be handled as a token list to allow mixing manual link decorators for the same attribute #17461

Open
wants to merge 53 commits into
base: master
Choose a base branch
from

Conversation

niegowski
Copy link
Contributor

@niegowski niegowski commented Nov 14, 2024

Suggested merge commit message (convention)

Fix (engine): The link rel attribute should be handled as a token list to allow mixing manual link decorators for the same attribute. Closes #13985, closes #6436.

Fix (mention): Mention should not be wrapped with an additional <span> when GHS is enabled. Closes #15329.

Internal (html-support): Attribute matching updated to the new output of Matcher#matchAll().

MINOR BREAKING CHANGE (engine): The ViewConsumable.consumablesFromElement() is removed and replaced with view.Element#_getConsumables() internal method. You should use ViewConsumable.createFrom() To create consumables if needed.

MINOR BREAKING CHANGE (engine): The ViewElementConsumables now accepts and outputs only normalized data. The ViewConsumable still accepts normalized or non-normalized input.

MINOR BREAKING CHANGE (engine): The Matcher#match() and Matcher#matchAll() output is now normalized. The MatchResult#match now contains normalized data compatible with changes in the ViewConsumable.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

…of attributes like class, style, rel or plain attribute.
@niegowski niegowski marked this pull request as ready for review December 17, 2024 14:33
@Witoso
Copy link
Member

Witoso commented Dec 17, 2024

@niegowski added closes #6436 as I think we mentioned it fixes this one as well.

@Witoso
Copy link
Member

Witoso commented Dec 17, 2024

Before merging, let's discuss the release strategy, if it's coupled or not with linking experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants