KosmosisDire / obsidian-webpage-export

Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
https://docs.obsidianweb.net/
MIT License
876 stars 75 forks source link

[Bug] [1.9.0-2b]: Admonitions (callouts) strange behavior #521

Open Chupakabra0 opened 1 month ago

Chupakabra0 commented 1 month ago

What happened?

  1. Admonitions from plugin https://github.com/javalent/admonitions and callouts not support collapsibility (worked before)
  2. Admonitions and callouts doesn't support custom .css snippets like this: https://github.com/r-u-s-h-i-k-e-s-h/Obsidian-CSS-Snippets/blob/Collection/Snippets/Callout%20styling%20-%20Old%20callouts.md (worked before).

Reproduction

Just create note with admonition or callout (syntax style doesn't matter) and try to export it via any option to .html

Last Working Version

1.8.1-2b

Version

1.9.0-2b

Operating System

Windows 11 Pro 23H2

Obsidian Version

1.6.7 both

Which browsers can you reproduce this in?

Firefox, Microsoft Edge

Relevant log output

N/A

Additional Info

I don't have additional info about collapse, I don't strong enough in web stuff, but about snippets I have an idea: it seems to me plugin's style of .callout-content overrides my snippet's style, 'cause I able to remove background-color and padding via developer tools in Firefox and my snippet become working.

not working image working image

Temporary solution: rollback to 1.8.1-2b where snippets and collapse work as intended.

KosmosisDire commented 1 month ago

I'll check this out and try to make sure it works in the next release. Thanks!