Title: Incorrect processing for XML code text
Last modified: July 25, 2019

---

# Incorrect processing for XML code text

 *  Resolved [Iteris-Soft](https://wordpress.org/support/users/iterissoft/)
 * (@iterissoft)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/)
 * Why not visible XML code with tag ‘code’ in FAQs? If you open the question as
   a page then the text turn to visible. [FAQs pade link](http://test.iteris-soft.ru/faqs/?Display_FAQ=501),
   [question as page](http://test.iteris-soft.ru/ufaqs/test/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fincorrect-processing-for-xml-code-text%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11767245)
 * Hi iterissoft,
 * I am not sure what you mean by “not visible XML code with tag ‘code’”?
 * I went through your FAQ page having the FAQ shortcode [ultimate-faqs] ([http://test.iteris-soft.ru/faqs/](http://test.iteris-soft.ru/faqs/))
   and it seems to be working fine. If you go to the “Basic” area of the “Options”
   tab and set “Permalink Type” to “Main FAQ Page”, then go to your FAQ page and
   click on the permalink icon for one of your FAQs, you’ll see that it reloads 
   the page with that specific FAQ expanded. And, in the address bar, you’ll see
   the unique link for that FAQ (should have something like ?Display_FAQ= on the
   end). Just copy this URL and you can use it as a FAQ page link with that FAQ 
   already expanded open.
 * If you are trying to point to individual FAQ page then you can do so by visiting
   the link [http://test.iteris-soft.ru/faqs/?Display_FAQ=501](http://test.iteris-soft.ru/faqs/?Display_FAQ=501)
 * Pretty Permalinks
 *  Thread Starter [Iteris-Soft](https://wordpress.org/support/users/iterissoft/)
 * (@iterissoft)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11767403)
 * Did you try to open both links from my first post and didn’t see the difference?
   In the first link there is no text:
    `<MyStyleSettings styleNameTemplate=”V1″/
   > This is the problem.
 *  Thread Starter [Iteris-Soft](https://wordpress.org/support/users/iterissoft/)
 * (@iterissoft)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11767544)
 * I write screencast: [https://autode.sk/2ydUj9j](https://autode.sk/2ydUj9j)
    This
   is video record from my screen.
    -  This reply was modified 6 years, 10 months ago by [Iteris-Soft](https://wordpress.org/support/users/iterissoft/).
 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11779042)
 * I don’t really understand what you’re doing in that screencast. There are no 
   extra shortcodes that go in the FAQs like that. I’ve never seen or heard of the
   shortcodes you’re trying to put in the FAQ body. Additionally, they don’t even
   look like proper shortcodes (the brackets should be square). If they aren’t shortcodes,
   but something else, then whatever that is isn’t supported by our plugin.
 *  Thread Starter [Iteris-Soft](https://wordpress.org/support/users/iterissoft/)
 * (@iterissoft)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11779450)
 * Are you seriously?? This is the basic functionality of WordPress! o_O
    Well, 
   see this article: [https://www.wpbeginner.com/wp-tutorials/how-to-easily-display-code-on-your-wordpress-site/](https://www.wpbeginner.com/wp-tutorials/how-to-easily-display-code-on-your-wordpress-site/)
   Your plugin does not support this?
    -  This reply was modified 6 years, 10 months ago by [Iteris-Soft](https://wordpress.org/support/users/iterissoft/).
    -  This reply was modified 6 years, 10 months ago by [Iteris-Soft](https://wordpress.org/support/users/iterissoft/).
 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11782920)
 * Hi iterissoft,
 * I am not sure what formatting block are you adding to add the source code (as
   it is in Russian), but I tried it with the “Code formatting block” and the code
   that I added in the FAQ answer in backend renders properly in the frontend. Here
   are the snapshots for the backend and the frontend:
 * Backend:
 * > [View post on imgur.com](https://imgur.com/a/TAPBoBb)
 * Frontend:
 * > [View post on imgur.com](https://imgur.com/a/QJ0KpZI)
 * Please try adding the code in the Code formatting block and then try again.
 *  Thread Starter [Iteris-Soft](https://wordpress.org/support/users/iterissoft/)
 * (@iterissoft)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11783508)
 * I tried again. I created a new site: test1.iteris-soft.ru. Pure English WordPress.
   No plugins, only Ultimate FAQ. The default theme is applied. Used the English
   browser FireFox. The problem has not disappeared.
    The problem appears only on
   the FAQ page, which is created by the [ultimate-faqs] shortcode, when I expand
   the answer with the XML code. Link to the problem page: [http://test1.iteris-soft.ru/faqs/?Display_FAQ=13](http://test1.iteris-soft.ru/faqs/?Display_FAQ=13)
   Do you see the XML code?
 * Screencast of the FAQ creation process: [https://autode.sk/2ysPKYA](https://autode.sk/2ysPKYA)
    -  This reply was modified 6 years, 10 months ago by [Iteris-Soft](https://wordpress.org/support/users/iterissoft/).
      Reason: Edit links
 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11787248)
 * Hi iterissoft,
 * Could you try wrapping the whole code block in an `<xmp>` element? ([https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xmp](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xmp))
 * Then, for styling, try adding this code to the “Custom CSS” section in Options-
   >Basic:
 *     ```
       xmp {
       font-size: 12px;
       border: 1px solid;
       padding: 10px;
       white-space: pre-wrap;}
       ```
   
 *  Thread Starter [Iteris-Soft](https://wordpress.org/support/users/iterissoft/)
 * (@iterissoft)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11788466)
 * Your advice did not work. Or I somehow applied it incorrectly. You can try it
   yourself on [http://test1.iteris-soft.ru](http://test1.iteris-soft.ru).
    Login:
   Autor Password: Autor@1 In addition, this tag is deprecated and is not recommended
   for use. The fact is that because of this drawback of your plugin, plugins for
   highlighting the code syntax (for example, Enlighter: [https://enlighterjs.org/](https://enlighterjs.org/))
   also do not work with XML code examples. I think that this is the problem of 
   your plugin. And without some change in the code of your plugin, this problem
   will not be solved.
 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11790119)
 * Hi iterissoft,
 * This is a public forum, please do not send us your login credentials here. Anyone
   can access it and it may lead to security related issues on your site.
 * The fact that we sent you that tag is because your theme or any other plugin 
   seems to be causing a conflict that is why the HTML text is not rendered properly.
   We tried the code formatting block on our demo site and it works fine with our
   plugin. We even sent you the snapshot in one of our previous replies which means
   this could perhaps be due to conflict with any other theme or plugin that you
   are using. Could you momentarily switch to a default WordPress theme, e.g. Twenty
   Nineteen and see if that makes a difference? You could also try disabling all
   other plugins and see if it works fine then. If it does, then you could enable
   the plugins one by one until you hit the issue again to find the plugin that 
   is conflicting.

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

The topic ‘Incorrect processing for XML code text’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-faqs/assets/icon-128x128.png?rev=1803957)
 * [Ultimate FAQ Accordion Plugin](https://wordpress.org/plugins/ultimate-faqs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-faqs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-faqs/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-faqs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-faqs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-faqs/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/incorrect-processing-for-xml-code-text/#post-11790119)
 * Status: resolved