Menu

#4 wrong horizontal space before lists

open
nobody
None
5
2009-04-29
2009-04-29
Anonymous
No

The following piece of source code leads to different horizontal spaces after "Test1" and "Test2":

-------- snip ----------

---

Test1:
- abd
- def

Test2:
- ghi
- jkl

---

------- snip --------

Discussion

  • Nobody/Anonymous

    A possible solution is:

    Change line 530 in Format.pm (from latest relaease in October 2008) from

    s/$/<p>/ if ($is_paragraph);

    to

    s/$/<p><\/p>/ if ($is_paragraph);

     
  • Yonat Sharon

    Yonat Sharon - 2009-04-30

    This seems a weird browser rendering problem, because in both cases the HTML is exactly the same.

     

Log in to post a comment.