Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Replace on Toggle View still does not work as expected in Firefox

#15

Commit http://github.com/cheeaun/mooeditable/commit/51b4291afa09306b70bdc5... doesn't entirely fix the problem with Firefox. On Toggle View it should replace all and tags with and , but it doesn't if the text enclosed in the tags is on another line than the tags themselves.

How to reproduce:

Toggle to HTML code editing and write:

<p>
<b>
Text
</b>
</p>

Toggle to normal again, toggle to html code again.

Result:
The code stays the same, the tags aren't replaced with as expected.

This only happens in Firefox. In Chrome and Opera it works fine.

Reported by wooptoo · December 21st, 2009 @ 07:28 PM

State: open
Milestone: 0.5
Assigned to: Lim Chee Aun Lim Chee Aun

Activity

  1. wooptoo
    wooptoo

    ugh, the bugtracker interpreted all my HTML tags, here is the intended text:

    Commit http://github.com/cheeaun/mooeditable/commit/51b4291afa09306b70bdc5... doesn't entirely fix the problem with Firefox. On Toggle View it should replace all <b> and <i> tags with <strong> and <em>, but it doesn't if the text enclosed in the tags is on another line than the tags themselves.

    How to reproduce:

    Toggle to HTML code editing and write:

    <p>
    <b>
    Text
    </b>
    </p>
    

    Toggle to normal again, toggle to html code again.

    Result:
    The code stays the same, the <b> tags aren't replaced with <strong> as expected.

    This only happens in Firefox. In Chrome and Opera it works fine.

    December 21st, 2009 @ 07:33 PM

  2. Lim Chee Aun
    Lim Chee Aun
    • State changed from new to open

    February 12th, 2010 @ 12:36 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.