In Live Preview, multi-line HTML code blocks in callouts are not rendered correctly. They do render correctly in Reading view.
Steps to reproduce
- Create a callout
- Create a multi-line HTML code block in the body of the callout
- Toggle between Live Preview and Reading view
Expected result
The entire code block should be rendered as part of the callout in Live Preview.
Actual result
In Live Preview, the first line is rendered as part of the callout, but the rest of the code block lines are not.
Environment
- Operating system: Windows 10
- Debug info:
SYSTEM INFO:
Obsidian version: v0.14.5
Installer version: v0.13.24
Operating system: Windows 10 Pro 10.0.19043
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Vileplume
Snippets enabled: 0
Safe mode: off
Plugins installed: 17
Plugins enabled: 15
1: Relative Line Numbers
2: Outliner
3: Hotkey Helper
4: Dataview
5: Emoji Toolbar
6: Pane Relief
7: Vault Statistics
8: Search Everywhere
9: Quick Explorer
10: Automatically reveal active file
11: Filename Heading Sync
12: Quick Switcher++
13: Core Search Assistant
14: Sliding Panes (Andy’s Mode)
15: Pandoc Plugin
RECOMMENDATIONS:
Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the help vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the help vault or disable community plugins.