diff --git a/data/version b/data/version index aa09e1c8..50b15b0e 100644 --- a/data/version +++ b/data/version @@ -1 +1 @@ -{"version":"2.6","updatedTime":"2017-12-01T07:21:51.505Z"} \ No newline at end of file +{"version":"2.6.1","updatedTime":"2018-08-06T07:21:51.505Z"} \ No newline at end of file diff --git a/public/js/app/page.js b/public/js/app/page.js index 406b4b6c..1ece45a1 100644 --- a/public/js/app/page.js +++ b/public/js/app/page.js @@ -786,8 +786,8 @@ LeaAce = { // 本身就有格式的, 防止之前有格式的显示为(ace下) var classes = $pre.attr('class') || ''; var isHtml = classes.indexOf('brush:html') != -1; - if ($pre.attr('style') || - (!isHtml && $pre.html().indexOf('