question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hot to remove <br> tags when inserting additional break points.

See original GitHub issue

Hi Guys when I’m in WYSIWYG mode and enter a few lines after changing it to Markdown mode , I see a few
tags in the Markdown mode which is ruining the whole Markdown mode , because it should be Markdown and we can’t include html tags with Markdown codes.

asd

<br>
<br>
asd

do you have any solution for it ?

how can I avoid it ?

If you have any suggestions , please share it with me. I wanted to write a function which removes all these tags but the problem with that method is that it also removes
tags from code blocks if there was any and I think it’s not a good idea to use it this way because users may use
tags in the code blocks

Regards

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
davidfregolicommented, Jul 9, 2020

Hey, @peymanforceman, have you found an elegant solution for this? I agree that the current implementation is indeed suboptimal

0reactions
stale[bot]commented, Aug 15, 2020

This issue will be closed due to inactivity. Thanks for your contribution!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Removing <br> tag with media query also removes spaces ...
I can add an   on either side of the <br> tag, but it messes up the alignment by a single space. Any...
Read more >
Rich-Text field in experience editor mode adds unwanted ...
Click Accept in Rich Text Editor; Click Edit Html; You can now see a new BR tag added <br class="t-last-br"/>.
Read more >
HTML Line Break – How to Break a Line with the HTML <br ...
In this tutorial, I'm going to show you how to insert line breaks in your HTML code with some "with and without" examples,...
Read more >
How to break line without using <br> tag in HTML / CSS
Use block-level elements to break the line without using <br> tag. There are many ways to break the line without using <br> tag....
Read more >
How to remove line break on mobile and tablet devices in ...
Learn how to remove or hide line breaks on mobile and tablet using Elementor builder and CSS! Line breaks do not create a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found