• Hello,

    Thanks so much for the great plugin, it’s very nearly a perfect fit for me. The biggest issue is that line breaks are inserted throughout the body content on save. You can see from the page link, under the term “vertex” that it adds the breaks. I did confirm it is being added on update and not on render by checking in the database. Any idea on what the issue is?

    Thanks,
    Sean-Paul

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @spmckee ,

    thanks for using my plugin! I checked your page out, but I am not sure if I see what you are referring to. The Vertex looks fine to me, but it might be that you have intended it to look different.

    Can you please point out what the issue is?

    Kind regards,

    Jeroen Peters

    Thread Starter spmckee

    (@spmckee)

    Hello and thanks for looking into it. I was able to resolve the issue by removing the “nl2br” function in admin.php:

    //$description = nl2br($description);
    $description = $description;

    My new issue is that any text with single or double quotes is being escaped with a “\” after I go to edit.

    This:
    The letters \”U\” and \”V\” denote the axes of the 2D texture because \”X\”, \”Y\”

    Should read as:
    The letters “U” and “V” denote the axes of the 2D texture because “X”, “Y”

    Thanks!

    • This reply was modified 1 year, 10 months ago by spmckee.
    • This reply was modified 1 year, 10 months ago by spmckee.
    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    hey @spmckee , a the nl2br is there for a reason but I can take at how it’s going to be used.

    On the fronted I see no slashes, do you only see this in the backend?

    Thread Starter spmckee

    (@spmckee)

    Ok, I reset the error. See “UV Mapping”. All I did to reproduce it was to “edit” and then “save”.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Line breaks added after save’ is closed to new replies.