Browse Source

Allow all heading levels in readme

Christophe Coevoet 8 years ago
parent
commit
cc7a6ae0b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Packagist/WebBundle/Package/Updater.php

+ 1 - 1
src/Packagist/WebBundle/Package/Updater.php

@@ -488,7 +488,7 @@ class Updater
                 'sub', 'sup',
                 'sub', 'sup',
                 'ins', 'del',
                 'ins', 'del',
                 'ol', 'ul', 'li',
                 'ol', 'ul', 'li',
-                'h1', 'h2', 'h3',
+                'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
                 'dl', 'dd', 'dt',
                 'dl', 'dd', 'dt',
                 'pre', 'code', 'samp', 'kbd',
                 'pre', 'code', 'samp', 'kbd',
                 'q', 'blockquote', 'abbr', 'cite',
                 'q', 'blockquote', 'abbr', 'cite',