teleposter icon indicating copy to clipboard operation
teleposter copied to clipboard

Adds line breaks <br> on pressing publish button each time

Open jaswinder77 opened this issue 4 years ago • 0 comments

I have yet to establish a pattern about where it inserts line break and where it does not but this bug often gives a big headache every time I use "try to edit" and then hit "publish" on a page where this bug has surfaced. Some observations:

  • when there is an ordered list it inserts a line break at the end of last list item and the closing tag of ordered list. So in effect, it looks like a new line is inserted between ordered list and the subsequent paragraph.
  • for each existing br tag, the number of br tags in that position doubles after press of publish button.
  • The number of br tags will keep doubling on each subsequent use of "try to edit" followed by "publish", even if we do not make any actual changes to the article.
  • if there are any blank lines at the end, the blank lines keep doubling after each edit/publish attempt.

jaswinder77 avatar May 24 '21 03:05 jaswinder77