From 64b432916af9c9218ab3f3eca614e26c542142ae Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 07 十一月 2023 15:47:13 +0800
Subject: [PATCH] bug

---
 minipro_standard/uni_modules/uview-ui/components/u-parse/parser.js |  166 +++++++++++++++++++++++++++---------------------------
 1 files changed, 83 insertions(+), 83 deletions(-)

diff --git a/minipro_standard/uni_modules/uview-ui/components/u-parse/parser.js b/minipro_standard/uni_modules/uview-ui/components/u-parse/parser.js
index c8edb90..a78a654 100644
--- a/minipro_standard/uni_modules/uview-ui/components/u-parse/parser.js
+++ b/minipro_standard/uni_modules/uview-ui/components/u-parse/parser.js
@@ -1,7 +1,7 @@
 'use strict'
 
-/**
- * @fileoverview html 瑙f瀽鍣�
+/**
+ * @fileoverview html 瑙f瀽鍣�
  */
 // 閰嶇疆
 const config = {
@@ -63,9 +63,9 @@
 config.ignoreTags.source = void 0
 config.ignoreTags.style = void 0 // #endif
 
-/**
- * @description 鍒涘缓 map
- * @param {String} str 閫楀彿鍒嗛殧
+/**
+ * @description 鍒涘缓 map
+ * @param {String} str 閫楀彿鍒嗛殧
  */
 
 function makeMap(str) {
@@ -78,11 +78,11 @@
 
     return map
 }
-/**
- * @description 瑙g爜 html 瀹炰綋
- * @param {String} str 瑕佽В鐮佺殑瀛楃涓�
- * @param {Boolean} amp 瑕佷笉瑕佽В鐮� &amp;
- * @returns {String} 瑙g爜鍚庣殑瀛楃涓�
+/**
+ * @description 瑙g爜 html 瀹炰綋
+ * @param {String} str 瑕佽В鐮佺殑瀛楃涓�
+ * @param {Boolean} amp 瑕佷笉瑕佽В鐮� &amp;
+ * @returns {String} 瑙g爜鍚庣殑瀛楃涓�
  */
 
 function decodeEntity(str, amp) {
@@ -108,9 +108,9 @@
 
     return str
 }
-/**
- * @description html 瑙f瀽鍣�
- * @param {Object} vm 缁勪欢瀹炰緥
+/**
+ * @description html 瑙f瀽鍣�
+ * @param {Object} vm 缁勪欢瀹炰緥
  */
 
 function parser(vm) {
@@ -122,9 +122,9 @@
     this.stack = []
     this.nodes = []
 }
-/**
- * @description 鎵ц瑙f瀽
- * @param {String} content 瑕佽В鏋愮殑鏂囨湰
+/**
+ * @description 鎵ц瑙f瀽
+ * @param {String} content 瑕佽В鏋愮殑鏂囨湰
  */
 
 parser.prototype.parse = function (content) {
@@ -141,8 +141,8 @@
 
     return this.nodes
 }
-/**
- * @description 灏嗘爣绛炬毚闇插嚭鏉ワ紙涓嶈 rich-text 鍖呭惈锛�
+/**
+ * @description 灏嗘爣绛炬毚闇插嚭鏉ワ紙涓嶈 rich-text 鍖呭惈锛�
  */
 
 parser.prototype.expose = function () {
@@ -153,10 +153,10 @@
         item.c = 1
     } // #endif
 }
-/**
- * @description 澶勭悊鎻掍欢
- * @param {Object} node 瑕佸鐞嗙殑鏍囩
- * @returns {Boolean} 鏄惁瑕佺Щ闄ゆ鏍囩
+/**
+ * @description 澶勭悊鎻掍欢
+ * @param {Object} node 瑕佸鐞嗙殑鏍囩
+ * @returns {Boolean} 鏄惁瑕佺Щ闄ゆ鏍囩
  */
 
 parser.prototype.hook = function (node) {
@@ -166,10 +166,10 @@
 
     return true
 }
-/**
- * @description 灏嗛摼鎺ユ嫾鎺ヤ笂涓诲煙鍚�
- * @param {String} url 闇�瑕佹嫾鎺ョ殑閾炬帴
- * @returns {String} 鎷兼帴鍚庣殑閾炬帴
+/**
+ * @description 灏嗛摼鎺ユ嫾鎺ヤ笂涓诲煙鍚�
+ * @param {String} url 闇�瑕佹嫾鎺ョ殑閾炬帴
+ * @returns {String} 鎷兼帴鍚庣殑閾炬帴
  */
 
 parser.prototype.getUrl = function (url) {
@@ -183,10 +183,10 @@
 
     return url
 }
-/**
- * @description 瑙f瀽鏍峰紡琛�
- * @param {Object} node 鏍囩
- * @returns {Object}
+/**
+ * @description 瑙f瀽鏍峰紡琛�
+ * @param {Object} node 鏍囩
+ * @returns {Object}
  */
 
 parser.prototype.parseStyle = function (node) {
@@ -241,20 +241,20 @@
     node.attrs.style = tmp
     return styleObj
 }
-/**
- * @description 瑙f瀽鍒版爣绛惧悕
- * @param {String} name 鏍囩鍚�
- * @private
+/**
+ * @description 瑙f瀽鍒版爣绛惧悕
+ * @param {String} name 鏍囩鍚�
+ * @private
  */
 
 parser.prototype.onTagName = function (name) {
     this.tagName = this.xml ? name : name.toLowerCase()
     if (this.tagName == 'svg') this.xml = true // svg 鏍囩鍐呭ぇ灏忓啓鏁忔劅
 }
-/**
- * @description 瑙f瀽鍒板睘鎬у悕
- * @param {String} name 灞炴�у悕
- * @private
+/**
+ * @description 瑙f瀽鍒板睘鎬у悕
+ * @param {String} name 灞炴�у悕
+ * @private
  */
 
 parser.prototype.onAttrName = function (name) {
@@ -270,10 +270,10 @@
         this.attrs[name] = 'T' // boolean 鍨嬪睘鎬х己鐪佽缃�
     }
 }
-/**
- * @description 瑙f瀽鍒板睘鎬у��
- * @param {String} val 灞炴�у��
- * @private
+/**
+ * @description 瑙f瀽鍒板睘鎬у��
+ * @param {String} val 灞炴�у��
+ * @private
  */
 
 parser.prototype.onAttrVal = function (val) {
@@ -282,10 +282,10 @@
     if (name == 'style' || name == 'href') this.attrs[name] = decodeEntity(val, true) // 鎷兼帴涓诲煙鍚�
     else if (name.includes('src')) this.attrs[name] = this.getUrl(decodeEntity(val, true)); else if (name) this.attrs[name] = val
 }
-/**
- * @description 瑙f瀽鍒版爣绛惧紑濮�
- * @param {Boolean} selfClose 鏄惁鏈夎嚜闂悎鏍囪瘑 />
- * @private
+/**
+ * @description 瑙f瀽鍒版爣绛惧紑濮�
+ * @param {Boolean} selfClose 鏄惁鏈夎嚜闂悎鏍囪瘑 />
+ * @private
  */
 
 parser.prototype.onOpenTag = function (selfClose) {
@@ -453,10 +453,10 @@
 
     siblings.push(node)
 }
-/**
- * @description 瑙f瀽鍒版爣绛剧粨鏉�
- * @param {String} name 鏍囩鍚�
- * @private
+/**
+ * @description 瑙f瀽鍒版爣绛剧粨鏉�
+ * @param {String} name 鏍囩鍚�
+ * @private
  */
 
 parser.prototype.onCloseTag = function (name) {
@@ -480,9 +480,9 @@
         })
     }
 }
-/**
- * @description 澶勭悊鏍囩鍑烘爤
- * @private
+/**
+ * @description 澶勭悊鏍囩鍑烘爤
+ * @private
  */
 
 parser.prototype.popNode = function () {
@@ -833,9 +833,9 @@
 
     attrs.style = attrs.style.substr(1) || void 0
 }
-/**
- * @description 瑙f瀽鍒版枃鏈�
- * @param {String} text 鏂囨湰鍐呭
+/**
+ * @description 瑙f瀽鍒版枃鏈�
+ * @param {String} text 鏂囨湰鍐呭
  */
 
 parser.prototype.onText = function (text) {
@@ -864,17 +864,17 @@
         siblings.push(node)
     }
 }
-/**
- * @description html 璇嶆硶鍒嗘瀽鍣�
- * @param {Object} handler 楂樺眰澶勭悊鍣�
+/**
+ * @description html 璇嶆硶鍒嗘瀽鍣�
+ * @param {Object} handler 楂樺眰澶勭悊鍣�
  */
 
 function lexer(handler) {
     this.handler = handler
 }
-/**
- * @description 鎵ц瑙f瀽
- * @param {String} content 瑕佽В鏋愮殑鏂囨湰
+/**
+ * @description 鎵ц瑙f瀽
+ * @param {String} content 瑕佽В鏋愮殑鏂囨湰
  */
 
 lexer.prototype.parse = function (content) {
@@ -889,11 +889,11 @@
         this.state()
     }
 }
-/**
- * @description 妫�鏌ユ爣绛炬槸鍚﹂棴鍚�
- * @param {String} method 濡傛灉闂悎瑕佽繘琛岀殑鎿嶄綔
- * @returns {Boolean} 鏄惁闂悎
- * @private
+/**
+ * @description 妫�鏌ユ爣绛炬槸鍚﹂棴鍚�
+ * @param {String} method 濡傛灉闂悎瑕佽繘琛岀殑鎿嶄綔
+ * @returns {Boolean} 鏄惁闂悎
+ * @private
  */
 
 lexer.prototype.checkClose = function (method) {
@@ -921,9 +921,9 @@
 
     return false
 }
-/**
- * @description 鏂囨湰鐘舵��
- * @private
+/**
+ * @description 鏂囨湰鐘舵��
+ * @private
  */
 
 lexer.prototype.text = function () {
@@ -963,9 +963,9 @@
         }
     } else this.i++
 }
-/**
- * @description 鏍囩鍚嶇姸鎬�
- * @private
+/**
+ * @description 鏍囩鍚嶇姸鎬�
+ * @private
  */
 
 lexer.prototype.tagName = function () {
@@ -983,9 +983,9 @@
         }
     } else if (!this.checkClose('onTagName')) this.i++
 }
-/**
- * @description 灞炴�у悕鐘舵��
- * @private
+/**
+ * @description 灞炴�у悕鐘舵��
+ * @private
  */
 
 lexer.prototype.attrName = function () {
@@ -1017,9 +1017,9 @@
         }
     } else if (!this.checkClose('onAttrName')) this.i++
 }
-/**
- * @description 灞炴�у�肩姸鎬�
- * @private
+/**
+ * @description 灞炴�у�肩姸鎬�
+ * @private
  */
 
 lexer.prototype.attrVal = function () {
@@ -1050,10 +1050,10 @@
         this.state = this.attrName
     }
 }
-/**
- * @description 缁撴潫鏍囩鐘舵��
- * @returns {String} 缁撴潫鐨勬爣绛惧悕
- * @private
+/**
+ * @description 缁撴潫鏍囩鐘舵��
+ * @returns {String} 缁撴潫鐨勬爣绛惧悕
+ * @private
  */
 
 lexer.prototype.endTag = function () {

--
Gitblit v1.9.3