Title: [193807] trunk/Websites/webkit.org
- Revision
- 193807
- Author
- j...@apple.com
- Date
- 2015-12-08 20:10:26 -0800 (Tue, 08 Dec 2015)
Log Message
Fix Code Style Guidelines code parsing.
https://bugs.webkit.org/show_bug.cgi?id=152024
Reviewed by Timothy Hatcher.
* wp-content/plugins/table-of-contents.php:
Modified Paths
Diff
Modified: trunk/Websites/webkit.org/ChangeLog (193806 => 193807)
--- trunk/Websites/webkit.org/ChangeLog 2015-12-09 03:58:53 UTC (rev 193806)
+++ trunk/Websites/webkit.org/ChangeLog 2015-12-09 04:10:26 UTC (rev 193807)
@@ -1,5 +1,14 @@
2015-12-08 Jonathan Davis <j...@apple.com>
+ Fix Code Style Guidelines code parsing.
+ https://bugs.webkit.org/show_bug.cgi?id=152024
+
+ Reviewed by Timothy Hatcher.
+
+ * wp-content/plugins/table-of-contents.php:
+
+2015-12-08 Jonathan Davis <j...@apple.com>
+
Fix social meta for home page.
https://bugs.webkit.org/show_bug.cgi?id=151764
Modified: trunk/Websites/webkit.org/wp-content/plugins/table-of-contents.php (193806 => 193807)
--- trunk/Websites/webkit.org/wp-content/plugins/table-of-contents.php 2015-12-09 03:58:53 UTC (rev 193806)
+++ trunk/Websites/webkit.org/wp-content/plugins/table-of-contents.php 2015-12-09 04:10:26 UTC (rev 193807)
@@ -92,15 +92,6 @@
public static function parse( $content ) {
$markup = preg_replace_callback('{
^<h([1-6])[^>]*>(.+?)<\/h[1-6]>* # HTML tags
- |
- ^(\#{1,6}) # $1 = string of #\'s
- [ ]*
- (.+?) # $2 = Header text
- [ ]*
- \#* # optional closing #\'s (not counted)
- (?:[ ]+ ' . self::$attr_regex . ' )? # $3 = id/class attributes
- [ ]*
- \n+
}xm',
array('WebKitTableOfContents', 'index'),
$content
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes