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