Title: Facing Issue while creating a programming quiz
Last modified: May 6, 2021

---

# Facing Issue while creating a programming quiz

 *  [amlendra021](https://wordpress.org/support/users/amlendra021/)
 * (@amlendra021)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/facing-issue-while-creating-a-programming-quiz-2/)
 * First, I want to say thanks for”Enlighter syntax highlighter”, it is an amazing
   plugin. I am a big fan of this plugin. It is working fine without any issue. 
   But when I am using it with the quiz maker plugin then facing an alignment issue.
   I talked to the quiz maker regarding the same, they have tried to solve the problem
   but they were unable and told me to talk to you guys regarding the same. I am
   hoping for a solution.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffacing-issue-while-creating-a-programming-quiz-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/facing-issue-while-creating-a-programming-quiz-2/#post-14407210)
 * could you please add an screenshot and point out whats not working ?
 *  Thread Starter [amlendra021](https://wordpress.org/support/users/amlendra021/)
 * (@amlendra021)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/facing-issue-while-creating-a-programming-quiz-2/#post-14407445)
 * Many thanks for quick response. Please check the link in which I have attached
   the image. You can also click on start quiz to check the issue, [https://aticleworld.com/plugin-test-for-quiz/](https://aticleworld.com/plugin-test-for-quiz/)
 * Code should be vissible like this,
 *     ```
       #include <iostream>
       using namespace std;
       //class
       class Test
       {
           //member variable
           int m;
       public:
           //non-static member function
           void value(int m)
           {
               // The 'this' pointer is used to
               //retrieve the object's m
               this->m = m;
           }
           void print()
           {
               cout << "m = " << m << endl;
           }
       };
       int main()
       {
           Test testObj;
           testObj.value(6);
           testObj.print();
           return 0;
       }
       ```
   
 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/facing-issue-while-creating-a-programming-quiz-2/#post-14407493)
 * i can only see a codeblock without linebreaks in your linked quiz.
 * it seems to be caused by the quiz plugin (all linebreaks are removed before the
   highlighting is applied)
 *  Thread Starter [amlendra021](https://wordpress.org/support/users/amlendra021/)
 * (@amlendra021)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/facing-issue-while-creating-a-programming-quiz-2/#post-14407775)
 * They have sugested me to use below CSS,
 * .ays-quiz-container .ays_quiz_question .enlighter span {
    white-space: break-
   spaces; }
 * But still, it did not work for me. Could you please suggest what I need to do?
 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/facing-issue-while-creating-a-programming-quiz-2/#post-14407858)
 * it doesn’t look like a css issue: the whitespaces are removed within the html-
   > this might caused by the quiz plugin or another optimization plugin
 * This issue is not related to Enlighter nor EnlighterJS…it’s the php code of another
   plugin

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

The topic ‘Facing Issue while creating a programming quiz’ is closed to new replies.

 * ![](https://ps.w.org/enlighter/assets/icon-256x256.png?rev=1215872)
 * [Enlighter - Customizable Syntax Highlighter](https://wordpress.org/plugins/enlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/enlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enlighter/reviews/)

## Tags

 * [formatting issue](https://wordpress.org/support/topic-tag/formatting-issue/)

 * 5 replies
 * 2 participants
 * Last reply from: [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/facing-issue-while-creating-a-programming-quiz-2/#post-14407858)
 * Status: not resolved