Parser improvements

    Now you can insert code. For everything to work out, the code needs to be inserted into the tag Otherwise, the parser will eat the tags Example: read on In the future, we are going to embed syntax highlighting on the Habr, but for now, I recommend using services like Source Code Highlighter to get colored code . Also, several minor bugs were fixed among which:

      ваш код должен быть тут




    // Добавляем возможность подсветки синтаксиса с помощью в теге code
    $jevix->cfgAllowTags(array('font'));
    $jevix->cfgSetTagChilds('code', array('font'), false, true);
    $jevix->cfgAllowTagParams('font', array('color'));   

    * This source code was highlighted with Source Code Highlighter.





    1. dot in .htaccess file
    2. ellipsis after interrogative? .. and exclamation! .. signs

    PS The tag also works.
    . It can be used to display as-is text. Keeping spaces and line feeds:
         / \ / \ _ _
       _oo \
      | ___- /)
          || - ||
    
    


    Also popular now: