Hi,
Piloting phpmyfaq to replace some custom product we ran into this problem/bug.
We often have questions regarding configuration. Our configuration is in XML.
So in the answers we paste pieces of XML(and use the syntax-hl included in tinymce to format).
We save and view the FAQ and its great!
When we however edit the faq record the XML tags are gone.
I did some research and found the html is stored correctly in the DB with the < replaced by < and the > replaced by >
In the php code all kind's of magic is used, but tot experiment I pasted some formatted html with the escaped xml between the textarea tags in which normally the retrieved record is inserted. This resulted in the same behavior.
How come its allowed to add--save--view but not to edit?
I noticed the tinyMCE setContent javascript method does not have this issue but here I cannot insert the code from the DB cause it has newlines,
(Coding javascript/php is not really my cup of tea).
The codeprotect plugin and syntaxhl plugings in tinymce didn't work as well.
For me, and for what I intend to use phpMyFaQ for this is a real issue.
Any help is appreciated!
2.6.6 XML tags stripped when editing faq
Moderator: Thorsten
Re: 2.6.6 XML tags stripped when editing faq
Hi,
how do you insert the XML?
bye
Thorsten
how do you insert the XML?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: 2.6.6 XML tags stripped when editing faq
Hi,
I tested it with a XML snippet from the Wikipedia XML article. This is how it looks like:
bye
Thorsten
I tested it with a XML snippet from the Wikipedia XML article. This is how it looks like:
bye
Thorsten
You do not have the required permissions to view the files attached to this post.
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: 2.6.6 XML tags stripped when editing faq
Hi,
Thanks for the fast reply!
I get the same, no issues.
My example: Now try to edit the faq.
This is where it strips my xml away.
Thanks for the fast reply!
I get the same, no issues.
My example: Now try to edit the faq.
This is where it strips my xml away.
You do not have the required permissions to view the files attached to this post.
Re: 2.6.6 XML tags stripped when editing faq
Hi,
ah.... okay, I'll check this!
bye
Thorsten
ah.... okay, I'll check this!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: 2.6.6 XML tags stripped when editing faq
Hi,
I can confirm this issue. I'll work on a fix for 2.6.8.
bye
Thorsten
I can confirm this issue. I'll work on a fix for 2.6.8.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: 2.6.6 XML tags stripped when editing faq
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: 2.6.6 XML tags stripped when editing faq
Thanks a lot!
That was fast
That was fast