Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

feilong concat 忽视内容中的html 注释 #43

Closed
venusdrogon opened this issue May 26, 2018 · 1 comment
Closed

feilong concat 忽视内容中的html 注释 #43

venusdrogon opened this issue May 26, 2018 · 1 comment
Assignees
Milestone

Comments

@venusdrogon
Copy link
Collaborator

image

feilong concat 忽视内容中的html 注释

image

@venusdrogon venusdrogon added this to the 1.11.1 milestone May 26, 2018
@venusdrogon venusdrogon self-assigned this May 26, 2018
@venusdrogon
Copy link
Collaborator Author

 //---------------------------------------------------------------
+
+            //since 1.11.1
+            //<!-- 公共 CSS 部分开始 -->
+            if (item.trim().startsWith("<!--")){// 忽视html注释行
+                continue;
+            }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant