文章预览
(function () {
var content = "明天正常更新";
var textPageContent = "明天正常更新";
var superVoteId = '';
var outContent = (content || superVoteId) ? content : textPageContent;
var jsTextContent = document.getElementById("js_text_content");
var jsTextContentFake = document.getElementById("js_text_content_fake");
outContent = outContent.replace(/<(\/?)(?!((a(\s|>))|(\/a))).*?>/g, (s) => {
return s.html(true);
});
jsTextContent.innerHTML = window.__emojiFormat(outContent);
if (parseFloat(window.getComputedStyle(jsTextContent).height) > parseFloat(window.getComputedStyle(jsTextContentFake).height)) {
jsTextContent.parentNode.className += ' share_media_text_overflow';
………………………………