mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 02:01:52 +02:00
add hhvm and php 5.6 test
This commit is contained in:
parent
ccd87381b0
commit
25f5e34e66
@ -1,10 +1,12 @@
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 5.6
|
||||
- 5.5
|
||||
- 5.4
|
||||
- 5.3
|
||||
- 5.2
|
||||
- hhvm
|
||||
|
||||
script: cd ./tools/ && set -e && make test
|
||||
|
||||
|
@ -721,7 +721,8 @@ class CommonMark_InlineParser
|
||||
$res = $this->parseImage($inlines);
|
||||
break;
|
||||
case '<':
|
||||
$res = $this->parseAutolink($inlines) ? : $this->parseHtmlTag($inlines);
|
||||
$res = $this->parseAutolink($inlines);
|
||||
$res = $res ? $res : $this->parseHtmlTag($inlines);
|
||||
break;
|
||||
case '&':
|
||||
$res = $this->parseEntity($inlines);
|
||||
@ -730,7 +731,7 @@ class CommonMark_InlineParser
|
||||
// Nothing
|
||||
}
|
||||
|
||||
return $res ? : $this->parseString($inlines);
|
||||
return $res ? $res : $this->parseString($inlines);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user