soren121 / lightblog

PHP/SQLite blogging platform
GNU General Public License v3.0
2 stars 0 forks source link

WYSIWYG editor uses empty div containers for line breaks #28

Closed soren121 closed 9 years ago

soren121 commented 9 years ago

From doodle62 on June 07, 2010 02:02:27

What steps will reproduce the problem? 1. Add a couple lines of text to any post.

  1. Note in the page source how divs are used for line breaks rather than brs. What is the expected output? What do you see instead? It should use <br>s, instead it uses <div>s and <br>s. What version of the product are you using? On what operating system? 0.9.3 Beta 1, Windows 7 If any, please paste the errors given below.

Original issue: http://code.google.com/p/lightblog/issues/detail?id=28

soren121 commented 9 years ago

From doodle62 on June 09, 2010 13:01:08

I think this is a JavaScript issue...

Owner: Antimatter15
Cc: doodle62

soren121 commented 9 years ago

From doodle62 on June 09, 2010 22:07:36

(No comment was entered for this change.)

Labels: -Priority-Critical Priority-High

soren121 commented 9 years ago

From doodle62 on June 10, 2010 21:08:54

Actually, I can't find any reference in the nicEdit code to making <div>s, so I'm thinking it must be browser behavior. I'll throw a fix into the InputFilter.

Status: Started
Owner: doodle62
Cc: -doodle62

soren121 commented 9 years ago

From doodle62 on July 16, 2010 12:44:32

Fixed in r499 .

Status: Fixed