Obsidian-Code-Styler
Obsidian-Code-Styler copied to clipboard
Bug: Code Block Unwraps on Reading Mode
Code Block Unwraps on Reading Mode
On reading mode, the code block unwraps even when the unwrap code block lines settings is disabled.
As an example, the image below shows the unwrapped lines in reading mode:
The image below is the output on editing mode:
Here is an image on reading mode with the plugin disabled:
Steps to reproduce
``` title:response hl:5
POST /webtools/control/createUserLogin HTTP/1.1
Host: ofbiz:8443
Cookie: JSESSIONID=76A7BCC53C2B9BF49B21F99D2D8CA5D5.jvm1; OFBiz.Visitor=10000
enabled=&partyId=&userLoginId=test¤tPassword=password¤tPasswordVerify=password&passwordHint=&requirePasswordChange=N&externalAuthId=&securityQuestion=&securityAnswer=
```
Removing
title:response hl:5still unwraps the code block.
Expected behaviour
Code block should be wrapped.
Current behaviour
Code block is unwrapped.
Environment
- Plugin Version: 1.1.7
- Obsidian Version: 1.6.7
- Platform: Desktop
- OS: Windows
- Theme: Obsidian Theme
- CSS Snippets: None
Can you take a screenshot of the settings which causes this? I'm currently doing a refactor so would be good to get this fix in!
This issue is stale because it has been open 60 days with no activity.