|
|
@ -58,7 +58,7 @@ |
|
|
|
(function () { |
|
|
|
(function () { |
|
|
|
var html = <%- JSON.stringify(user.information) %>; |
|
|
|
var html = <%- JSON.stringify(user.information) %>; |
|
|
|
var elem = document.createElement('div'); |
|
|
|
var elem = document.createElement('div'); |
|
|
|
elem.style = 'overflow: hidden; width: 100%; max-width: 480px; '; |
|
|
|
elem.style = 'overflow: hidden; width: 100%; '; |
|
|
|
elem.style.maxHeight = lineHeight + 'px'; |
|
|
|
elem.style.maxHeight = lineHeight + 'px'; |
|
|
|
elem.innerHTML = html; |
|
|
|
elem.innerHTML = html; |
|
|
|
var imgs = Array.from(elem.getElementsByTagName('img')); |
|
|
|
var imgs = Array.from(elem.getElementsByTagName('img')); |
|
|
|