浏览代码

Merge pull request #734 from stof/patch-1

Allow colspan and rowspan attributes in readmes
Rob 8 年之前
父节点
当前提交
c193688821
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Packagist/WebBundle/Package/Updater.php

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

@@ -492,7 +492,7 @@ class Updater
                 'dl', 'dd', 'dt',
                 'pre', 'code', 'samp', 'kbd',
                 'q', 'blockquote', 'abbr', 'cite',
-                'table', 'thead', 'tbody', 'th', 'tr', 'td',
+                'table', 'thead', 'tbody', 'th[colspan|rowspan]', 'tr', 'td[colspan|rowspan]',
                 'a[href|target|rel|id]',
                 'img[src|title|alt|width|height|style]'
             );