up
This commit is contained in:
parent
b4e3728c93
commit
bb67bcfa32
@ -78,8 +78,9 @@
|
|||||||
<input type="text" class="input">
|
<input type="text" class="input">
|
||||||
<button id="sendMsg" class="btn">发送</button>
|
<button id="sendMsg" class="btn">发送</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="log-container">
|
<div id="log-container" contenteditable="true">
|
||||||
<div id="msg">
|
<div id="msg">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="support"></div>
|
<div class="support"></div>
|
||||||
@ -278,7 +279,7 @@
|
|||||||
text: '确认',
|
text: '确认',
|
||||||
btnClass: 'btn-primary',
|
btnClass: 'btn-primary',
|
||||||
action: function() {
|
action: function() {
|
||||||
$("#log-container div").text('');
|
$("#log-container div").html('');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
cancel: {
|
cancel: {
|
||||||
|
|||||||
@ -208,7 +208,7 @@ public class HtmlParser {
|
|||||||
Matcher m = URLJOIN_ATTR.matcher(option);
|
Matcher m = URLJOIN_ATTR.matcher(option);
|
||||||
Matcher n = SPECIAL_URL.matcher(result);
|
Matcher n = SPECIAL_URL.matcher(result);
|
||||||
//if (isUrl(option)) {
|
//if (isUrl(option)) {
|
||||||
if (m.find() && !n.find() {
|
if (m.find() && !n.find()){
|
||||||
if (result.contains("http")) {
|
if (result.contains("http")) {
|
||||||
result = result.substring(result.indexOf("http"));
|
result = result.substring(result.indexOf("http"));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user