qTranslate seems to strip out HTML tags in 3.3.1

Having Problems? Need Help? Post here!

Re: qTranslate seems to strip out HTML tags in 3.3.1

Postby Kokarn » Tue Feb 21, 2012 4:12 pm

Don Jebot wrote:I found the solutions .. seems it's works http://www.teslina.com/748/wordpress/qt ... #comment-6 ... i didn't test it completely

Just looking at it it looks as though it would work but here on my end it changes nothing i'm afraid.
Current projects: eSport Tournaments and MOBA news
Kokarn
 
Posts: 17
Joined: Wed Dec 14, 2011 12:01 pm

Re: qTranslate seems to strip out HTML tags in 3.3.1

Postby Don Jebot » Wed Feb 22, 2012 7:21 am

I implemented it to 2 projects and its works perfectly now ...
Don Jebot
 
Posts: 3
Joined: Tue Feb 21, 2012 3:25 pm

Re: qTranslate seems to strip out HTML tags in 3.3.1

Postby Kokarn » Wed Feb 22, 2012 12:03 pm

Don Jebot wrote:I implemented it to 2 projects and its works perfectly now ...


Did you have "only" the stripping of HTML tags problem or did you also have the "not saving stuff when saving from html-editor" problem?
Current projects: eSport Tournaments and MOBA news
Kokarn
 
Posts: 17
Joined: Wed Dec 14, 2011 12:01 pm

Re: qTranslate seems to strip out HTML tags in 3.3.1

Postby Don Jebot » Wed Feb 22, 2012 12:23 pm

I had problem with saving html tags now it's ok and paragraphs in HTML view too ... did you add functions to functions.php in your theme?
Don Jebot
 
Posts: 3
Joined: Tue Feb 21, 2012 3:25 pm

Re: qTranslate seems to strip out HTML tags in 3.3.1

Postby Kokarn » Wed Feb 22, 2012 12:27 pm

Don Jebot wrote:I had problem with saving html tags now it's ok and paragraphs in HTML view too ... did you add functions to functions.php in your theme?


Yes i did. But the problem isn't that it's stripping the tags but more that it doesn't save correctly when saving from HTML view.

Will try on a different template later today and report back the result.
Current projects: eSport Tournaments and MOBA news
Kokarn
 
Posts: 17
Joined: Wed Dec 14, 2011 12:01 pm

Re: qTranslate seems to strip out HTML tags in 3.3.1

Postby Argonisius » Sun Feb 26, 2012 1:01 pm

Any new solution / patch? It's driving me crazy.
Argonisius
 
Posts: 15
Joined: Sat Feb 19, 2011 1:43 pm

Re: qTranslate seems to strip out HTML tags in 3.3.1

Postby JohnnyHa » Mon Feb 27, 2012 10:32 am

Yeah this bugfix doesnt solve the problem with the editor.
Try adding a simple unordered list, saving then check the HTML for it. It has added several more UL tags that creates space.
This is not the only bug, the editor also doesnt save the proper spacing.

Lets say i had spacing

Between THIS



and THAT.

Removing the space and saving would give a perfect LIVE result on the website, but if you go BACK to the editor again you will see the space has magically appeared again. This is super annoying.
JohnnyHa
 
Posts: 7
Joined: Sun Feb 12, 2012 1:26 pm

Re: qTranslate seems to strip out HTML tags in 3.3.1

Postby 1magic » Sat Mar 03, 2012 6:07 am

I have the same problem:
Wordpress 3.3.1
qTranslate 2.5.28

When I open a page for editing the text is getting stripped out of paragraphs and newlines. Then I have to add all the paragraphs manualy again and then save (or not save at all) to keep the page from getting messed up. This is a serious problem as pages are very essential in the site.
When qTranslate is disabled problem doesn't happen.
Also found that when the paragraph tags are not simple <p>s but say <p style="padding-left: 4px"> and not have blank lines before and after, they aren't stripped.
1magic
 
Posts: 1
Joined: Sat Mar 03, 2012 5:45 am

Re: qTranslate seems to strip out HTML tags in 3.3.1

Postby Aneon » Tue Mar 13, 2012 2:37 am

Please try this fix, it worked for me:
http://wordpress.stackexchange.com/ques ... 5371#45371
Aneon
 
Posts: 5
Joined: Tue Mar 13, 2012 2:34 am

Re: qTranslate seems to strip out HTML tags in 3.3.1

Postby Bev » Tue Mar 13, 2012 1:37 pm

Awesome Aneon! Your fix resolves the paragraph issue, removes the qtrans_split error message and doesn't break UL tags.
Bev
 
Posts: 6
Joined: Mon Mar 21, 2011 7:59 pm

PreviousNext

Return to qTranslate Support Forum

Who is online

Users browsing this forum: Google [Bot] and 6 guests