Version 3.4.8
This commit is contained in:
1 parent
b45ea0dffb
commit
c603205a25
1398 files changed
+36675
-31023
No files matched your search
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Text Parsing: HTML
|
||||
* Last Updated: $Date: 2012-06-08 09:28:02 +0100 (Fri, 08 Jun 2012) $
|
||||
* </pre>
|
||||
@@ -419,6 +419,14 @@ class class_text_parser_html extends classes_text_parser
|
||||
protected function _parseListTag( $tag, $between_text, $opening_tag, $parse_tag )
|
||||
{
|
||||
$list_type = trim( preg_replace( '#"?list-style-type:\s+?([\d\w\_\-]+);?"?#si', '\\1', $this->_getValueOfOption( 'style', $opening_tag ) ) );
|
||||
|
||||
if ( ! $list_type )
|
||||
{
|
||||
/* If we cannot find the list type from the style attribute, try classes */
|
||||
$classes = explode( ' ', trim( $this->_getValueOfOption( 'class', $opening_tag ) ) );
|
||||
$list_type = array_pop( $classes );
|
||||
}
|
||||
|
||||
$css = $this->_getValueOfOption( 'class', $opening_tag );
|
||||
|
||||
// -----------------------------------------
|
||||
|
||||
Reference in new issue
Block a user