BoostIO/Boostnote

Do you want to work on this issue?

You can request for a bounty in order to promote it!

[bug] Fenced HTML codeblock reformatting attributes broken out over multiple lines. #2667

milesbigbluedoor posted onGitHub

Current behavior

When using a HTML fenced codeblock and you break multiple attributes over multiple lines, it currently renders all attributes onto a single lines and simultaneously adds those linebreaks to the end of the codeblock.

Editor:

screenshot 2018-12-02 at 15 27 42

Preview:

screenshot 2018-12-02 at 15 28 23

Expected behavior

The fenced block should preview as it is formatted in the editor.

Steps to reproduce

  1. Create a fenced HTML codeblock
  2. Define a tag such as a <div>
  3. Add multiple attributes and break them out over multiple lines

Environment

  • Version : 0.11.11 (0.11.11)
  • OS Version and name : macOS Mojave (v10.14)

@issuehuntfest has funded $20.00 to this issue. See it on IssueHunt

posted by IssueHuntBot over 6 years ago

@milesbigbluedoor, Hi, I am not able to reproduce in the current master branch, maybe this has been fixed? Can you provide your .md file, so that I can test your .md in master branch as well?

Editor mode: image

Preview: image

posted by richardtks over 6 years ago

@richardtks I just messed around with my preferences and discovered this is an issue caused by the Sanitization option under Interface being set to Allow dangerous html tags. Can you try setting your Sanitization setting to the same and see if that breaks it?

posted by milesbigbluedoor over 6 years ago

Fund this Issue

$20.00
Funded
Only logged in users can fund an issue

Pull requests

Recent activities

issuehuntfest funded 20.00 for BoostIo/Boostnote# 2667
over 6 years ago