• ResolvedPlugin Author Gunu

    (@grafcom)


    Hello John,

    strange behavior when testing this

    Site language in WP = en_US (English is also first in qtranslate settings)

    Firts time in Database gives (is normal):
    <!–:en–>EN<!–:–><!–:nl–>NL<!–:–>

    Second time in Database gives:
    <!–:en–><p>EN</p><!–:–><!–:nl–>NL<!–:–>

    In edit post I see NL keeps clean but EN switches from:

    <p>EN</p>
    <p>

    to

    EN
    
    &nbsp 
     

    and
    <p>EN</p><p> </p>

    This appears when only switching from visual to text mode and back.

    Looking at Database there is also one revision with:
    <p><!–:en–>EN<!–:–><!–:nl–>NL&nbsp<!–:–></p>

    I hope this helps.

    https://wordpress.org/plugins/qtranslate-x/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Gunu

    (@grafcom)

    additional info.

    When I go into the language settings for qTranslate switch to NL instead of EN (Default Language / Order) the characters will then no longer appear in the English version but in the NL version, the EN version keeps now clean.

    Switching back to EN as standard in the qTranslate language settings then, in the post switching from visual to text everything stays clean but in the Database it gives:
    <p><!–:en–>EN<!–:–><!–:nl–>NL<!–:–></p>
    <!–:en–>EN<!–:–><!–:nl–>NL<!–:–>
    <!–:en–><p>EN</p><!–:–><!–:nl–>NL<!–:–>

    Looking again after switch multiple times in the post text editor again the characters are back only in the English version and the NL version keeps clean.

    Plugin Author John Clause

    (@johnclause)

    Yes, I’ve also seen all kinds of strangeness, the only common factor is that it always has something to do with <p> and </p>. Let me know if you figure out where those are coming from. Is it in js code on in php code? Also, if you do not mind, please, add all your new findings as comments to the issue #5 itself https://github.com/qTranslate-Team/qtranslate-x/issues/5 so that other people, who might be looking at it, get the updtes too. I know at least one more person who is also trying to solve this mystery.

    Plugin Author Gunu

    (@grafcom)

    I did a test with qTranslate Plus and those characters do not appear there in the posts.

    Success

    Plugin Author John Clause

    (@johnclause)

    I see that some extra unmatched <p> tags coming after the line
    $content = apply_filters( 'the_editor_content', $content ); in /wp-includes/class-wp-editor.php.

    Plugin Author John Clause

    (@johnclause)

    Hi @gunu, there is a newer beta version https://downloads.wordpress.org/plugin/qtranslate-x.2.9.7b.zip
    I would really appreciate if you could test it before I release it to public. readme.txt has a list of changes.
    Thank you very-very much.

    Plugin Author John Clause

    (@johnclause)

    If you do testing, please use the latest version from GitHub: https://github.com/qTranslate-Team/qtranslate-x
    Here is the link to download.
    Thank you very much.

    Plugin Author Gunu

    (@grafcom)

    Hello John,

    after installing the latest version the returning <p> characters are no longer present.

    Good work!

    Plugin Author Gunu

    (@grafcom)

    Update:

    On Pages and Posts the <p> characters are no longer present.

    I also use the plugin ALO EasyMail Newsletter.

    On the pages of the newsletters are still that characters and the layout is jumbled/adjusted.

    You can see this for yourself on the test site I sent you.

    See pages – qtranslate-x-test
    See under Newsletter – qTranslate-X-test

    Plugin Author Gunu

    (@grafcom)

    In one of the next versions this is resolved!

    Thanks John!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘test issue #5 (github.com/qTranslate-Team/qtranslate-x/issues/5)’ is closed to new replies.