You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version (please complete the following information):
OS: MacOS 15.1
Browser: Safari
Web Clipper version: 0.9.5
Obsidian version: 1.7.6
Describe the bug
strip_attr:("class") removes all attributes.
strip_tags:("b") removes all attributes
Expected behavior
strip_attr:("class") should remove either only class or all other attributes (eg id).
strip_tags:("b") should remove either <b> … </b> or all the other tags.
I'm not sure about the intended behavior. Help is confusing. Does it strip only or everything but the provided CSS selectors/HTML tags? I'd prefer the former and a different syntax for the latter, but the other way around is also ok.
Version (please complete the following information):
Describe the bug
strip_attr:("class")
removes all attributes.strip_tags:("b")
removes all attributesExpected behavior
strip_attr:("class")
should remove either onlyclass
or all other attributes (egid
).strip_tags:("b")
should remove either<b> … </b>
or all the other tags.I'm not sure about the intended behavior. Help is confusing. Does it strip only or everything but the provided CSS selectors/HTML tags? I'd prefer the former and a different syntax for the latter, but the other way around is also ok.
URLs where the bug occurs
I added the examples from Help to a test page: https://write.as/i52g2kl1kwnghey2.md
To reproduce
Steps to reproduce the behavior:
Go to: https://write.as/i52g2kl1kwnghey2.md
Open Clipper
See error
I expected to see either this result:
Or that result:
Your template file
The text was updated successfully, but these errors were encountered: