Browse Source

fix bug

master
pandao 10 years ago
parent
commit
25b9c23089
  1. 2
      CHANGE.md
  2. 6
      editormd.amd.js
  3. 4
      editormd.amd.min.js
  4. 6
      editormd.js
  5. 4
      editormd.min.js
  6. 4
      src/editormd.js

2
CHANGE.md

@ -441,7 +441,7 @@ v1.2.0 主要更新:
- 改进:可配置是否自动聚焦编辑器 [#74](https://github.com/pandao/editor.md/issues/74);
- 新增配置项 `autoFocus`,默认值为 `true`;
- 修复 Bug [#77](https://github.com/pandao/editor.md/issues/77);
- 改进:帮助对话框里的链接改为新窗口打开,避免直接跳转到链接,导致编辑内容丢失的问题[#79](https://github.com/pandao/editor.md/issues/79);
- 改进:帮助对话框里的链接改为新窗口打开,避免直接跳转到链接,导致编辑内容丢失的问题 [#79](https://github.com/pandao/editor.md/issues/79);
- 改进和完善编辑器配置项;
- 新增配置项 `tabSize`、`indentUnit` 和 `lineWrapping`
- 新增配置项 `autoCloseBrackets``showTrailingSpace`

6
editormd.amd.js

@ -7,7 +7,7 @@
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-05-05
* @updateTime 2015-05-06
*/
;(function(factory) {
@ -3657,6 +3657,10 @@
*/
editormd.filterHTMLTags = function(html, filters) {
if (typeof html !== "string") {
html = new String(html);
}
if (typeof filters !== "string") {
return html;

4
editormd.amd.min.js

File diff suppressed because one or more lines are too long

6
editormd.js

@ -7,7 +7,7 @@
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-05-05
* @updateTime 2015-05-06
*/
;(function(factory) {
@ -3587,6 +3587,10 @@
*/
editormd.filterHTMLTags = function(html, filters) {
if (typeof html !== "string") {
html = new String(html);
}
if (typeof filters !== "string") {
return html;

4
editormd.min.js

File diff suppressed because one or more lines are too long

4
src/editormd.js

@ -3575,6 +3575,10 @@
*/
editormd.filterHTMLTags = function(html, filters) {
if (typeof html !== "string") {
html = new String(html);
}
if (typeof filters !== "string") {
return html;

Loading…
Cancel
Save