@ -6,7 +6,7 @@ var readability = require("../index.js");
varJSDOMParser=readability.JSDOMParser;
varBASETESTCASE='<html><body><p>Some text and <a class="someclass" href="#">a link</a></p>'+
'<div id="foo">With a <script>With < fancy " characters in it because' +
'<div id="foo">With a <script>With < fancy " characters in it because' +
'</script> that is fun.<span>And another node to make it harder</span></div><form><input type="text"/><input type="number"/>Here\'s a form</form></body></html>';
<divclass="featured-container"><imgitemprop="image"src="http://media.breitbart.com/media/2016/11/GettyImages-621866810-640x480.jpg"class="attachment-isc-bbn-full size-isc-bbn-full wp-post-image"alt="Supporters of Republican presidential nominee Donald Trump cheer during election night at the New York Hilton Midtown in New York on November 9, 2016. / AFP / JIM WATSON (Photo credit should read JIM WATSON/AFP/Getty Images)"width="640"height="480"/>
<pclass="sh2"><span>SIGN UP</span> FOR OUR NEWSLETTER</p>
</div>
<h2><span>Snopes fact checker and staff writer David Emery posted to Twitter asking if there were “any un-angry Trump supporters?”</span></h2>
<p><span>Emery, a writer for partisan “fact-checking” website Snopes.com which soon will be in charge of labelling </span><ahref="http://www.breitbart.com/tech/2016/12/15/facebook-introduce-warning-labels-stories-deemed-fake-news/"><span>“fake news”</span></a><span> alongside ABC News and Politifact, retweeted an article by Vulture magazine relating to the </span><ahref="http://www.breitbart.com/big-hollywood/2016/11/19/boycotthamilton-trends-hamilton-cast-members-harass-mike-pence/"><span>protests</span></a><span> of the <em>Hamilton</em> musical following the decision by the cast of the show to make a </span><ahref="http://www.breitbart.com/big-hollywood/2016/11/19/tolerance-hamilton-cast-lectures-mike-pence-broadway-stage/"><span>public announcement</span></a><span> to Vice-president elect Mike Pence while he watched the performance with his family.</span></p>
<divclass="mobile"id="EmailOptinM">
<pclass="sh2"><span>SIGN UP</span> FOR OUR NEWSLETTER</p>
</div>
<p><span>The tweet from Vulture magazine reads, “</span><ahref="https://twitter.com/hashtag/Hamilton?src=hash"target="_blank"rel="noopener"class=" x5l"><span>#Hamilton</span></a><span> Chicago show interrupted by angry Trump supporter.” Emery retweeted the story, saying, “Are there un-angry Trump supporters?”</span></p>
<p><span>This isn’t the first time the Snopes.com writer has expressed anti-Trump sentiment on his Twitter page. In another tweet in which Emery links to an article that falsely attributes a quote to President-elect Trump, Emery states, “Incredibly, some people actually think they have to put words in Trump’s mouth to make him look bad.”</span></p>
<p><span>Emery also retweeted an article by <em>New York</em> magazine that claimed President-elect Trump relied on lies to win during his campaign and that we now lived in a “post-truth” society. “Before long we’ll all have forgotten what it was like to live in the same universe; or maybe we already have,” Emery tweeted.</span></p>
<p><span>Facebook believe that Emery, along with other Snopes writers, ABC News, and </span><ahref="http://www.breitbart.com/tech/2016/12/16/flashback-weekly-standard-data-shows-politifact-has-it-out-for-republicans/"><span>Politifact</span></a><span> are impartial enough to label and silence what they believe to be “fake news” on social media. </span></p>
<p><i><span>Lucas Nolan is a reporter for Breitbart Tech covering issues of free speech and online censorship. Follow him on Twitter </span></i><ahref="http://twitter.com/lucasnolan_"target="_blank"rel="noopener"class=" x5l"><i><span>@LucasNolan_</span></i></a><i><span> or email him at </span></i><ahref="http://www.breitbart.com/wp-admin/blank"><i><span>lnolan@breitbart.com</span></i></a></p>
if (e = [], n = i[u], n.name && (e.push(n.name.toLowerCase()), n.options && n.options.aliases && n.options.aliases.length))
for (t = 0; t <n.options.aliases.length;t++)e.push(n.options.aliases[t].toLowerCase());
for (o = A(n.fn, "function") ? n.fn() : n.fn, a = 0; a <e.length;a++)s =e[a],f =s.split("."),1 ===f.length?r[f[0]]=o:2 ===f.length&&(!r[f[0]]||r[f[0]]instanceofBoolean||(r[f[0]]=newBoolean(r[f[0]])),r[f[0]][f[1]]=o),l.push((o?"":"no-")+f.join("-"))
for (t = 0; t < n.options.aliases.length; t++) e.push(n.options.aliases[t].toLowerCase());
for (o = A(n.fn, "function") ? n.fn() : n.fn, a = 0; a < e.length; a++) s = e[a], f = s.split("."), 1 === f.length ? r[f[0]] = o : 2 === f.length && (!r[f[0]] || r[f[0]] instanceof Boolean || (r[f[0]] = new Boolean(r[f[0]])), r[f[0]][f[1]] = o), l.push((o ? "" : "no-") + f.join("-"))
}
}
@ -627,7 +627,7 @@
var A = this._l[e];
setTimeout(function() {
var e, t;
for (e = 0; e <A.length;e++)(t =A[e])(n)
for (e = 0; e < A.length; e++)(t = A[e])(n)
}, 0), delete this._l[e]
}
}, r._q.push(function() {
@ -658,13 +658,13 @@
A = n.shift();
e(A.name, A.uri, function(A) {
if ("load" === A.type)
for (var t = 0; t <n.length;t++)e(n[t].name,n[t].uri)
for (var t = 0; t < n.length; t++) e(n[t].name, n[t].uri)
var is_responsive_mobile = (document.documentElement.clientWidth <= 640);
var is_responsive_mobile = (document.documentElement.clientWidth <= 640);
var releaseSuffix = "5ab453ca06a48f0e53b210afa383781f";
</script>
<scripttype="text/javascript">
@ -240,7 +240,7 @@ actualités, news"/>
var cookie_notified = getCookie('cookie_notified');
/* check the cookie and display the notification */
if (!cookie_notified && libeUserInfo['authenticated'] == false) {
var cookie_notify_html = '<divclass="cookie_notify_js cookie-notify"><divclass="wrapper"><divonClick="cookie_notified_handler(this);"class="close"><span>Fermer </span><iclass="icon-cancel-circle"></i></div><p>En poursuivant votre navigation sur ce site, vous acceptez l\'utilisation de cookies pour vous proposer des services et offres adaptés à vos centres d\'intérêt. <aonclick="window.location.assign(\'/donnees-personnelles/\');" title="Conditions générales de vente de Libération">En savoir plus</a></p></div></div>'
var cookie_notify_html = '<div class="cookie_notify_js cookie-notify"><div class="wrapper"><div onClick="cookie_notified_handler(this);" class="close"><span>Fermer </span><i class="icon-cancel-circle"></i></div><p>En poursuivant votre navigation sur ce site, vous acceptez l\'utilisation de cookies pour vous proposer des services et offres adaptés à vos centres d\'intérêt. <a onclick="window.location.assign(\'/donnees-personnelles/\');" title="Conditions générales de vente de Libération">En savoir plus</a></p></div></div>'
document.getElementById('header-paper-link').innerHTML = '<ahref="http://token.liberation.fr/accounts/offers/">Abonnez-vous à partir de 1€</a>';
document.getElementById('header-paper-link').innerHTML = '<a href="http://token.liberation.fr/accounts/offers/">Abonnez-vous à partir de 1€</a>';
if (typeof libeUserInfo.forced_recovery != 'undefined') {
var recoveryMsg = "<h3>Libération.fr est actuellement en maintenance... L'identification est temporairement désactivée, veuillez nous excuser pour la gêne occasionnée.</h3>";
var recoveryMsg = "<h3>Libération.fr est actuellement en maintenance... L'identification est temporairement désactivée, veuillez nous excuser pour la gêne occasionnée.</h3>";
} else {
var recoveryMsg = "<h3> Libération.fr rencontre des problèmes techniques. L'identification est temporairement désactivée, veuillez nous excuser pour la gêne occasionnée.</h3>";
var recoveryMsg = "<h3> Libération.fr rencontre des problèmes techniques. L'identification est temporairement désactivée, veuillez nous excuser pour la gêne occasionnée.</h3>";
@ -1634,7 +1634,7 @@ Par<span class="authorname"> Pierre Alonso</span> </span>
widget.stop();
$('#' + 'comments_container').addClass('closed');
} else if (libeUserInfo.authenticated) {
$('<divclass="fyre-moderation-message">' + '<p>Votre commentaire apparaîtra dès validation par le modérateur (généralement en moins de 30 minutes).</p>' + '<p>Cet espace est réservé aux commentaires sur cet article. Vous souhaitez discuter d\'autres sujets ? Rendez-vous sur <ahref="http://www.liberation.fr/forums,24">nos forums thématiques</a>. Merci de respecter <ahref="http://www.liberation.fr/charte/">notre charte</a>.</p>' + '</div>').insertAfter('.fyre-editor:first');
$('<div class="fyre-moderation-message">' + '<p>Votre commentaire apparaîtra dès validation par le modérateur (généralement en moins de 30 minutes).</p>' + '<p>Cet espace est réservé aux commentaires sur cet article. Vous souhaitez discuter d\'autres sujets ? Rendez-vous sur <a href="http://www.liberation.fr/forums,24">nos forums thématiques</a>. Merci de respecter <a href="http://www.liberation.fr/charte/">notre charte</a>.</p>' + '</div>').insertAfter('.fyre-editor:first');
};
});
});
@ -1693,7 +1693,7 @@ Par<span class="authorname"> Pierre Alonso</span> </span>
<scripttype="text/javascript">
var n_pbt = '';
var nuggrid = encodeURIComponent(top.location.href);
if(typeof wp_meta_data=="undefined"){try{wp_meta_data={platform:"pagebuilder",showAds:true,showPreRollAds:false,isHomepage:false,isErrorPage:false,isMultimedia:false,wt:"article_story",page_id:["00202e76-cd73-11e4-8730-4f473416e759"],author:["Erin Cunningham"],keywords:["tunisia","bardo museum","tourists killed","tunis attack tunisia attack","tunisia terrorism","tunisia death toll","tunisia museum","islamic state","isis","isil","islamic state tunsiia","arab spring","tunisia clashes","tunisia violence","tunisia libya"],clavis:{keywords:["tunisian","Bardo National Museum","country","time","tourist","Interior Ministry spokesman Mohamed Ali Aroui","Story","strongman","capital","responsibility","claim","site","militant","Murphy","Washington","Tunis","people","gunman","militancy","uprising","Zine El Abidine Ben Ali","extremism","Gunfire","parliament building","area"],topics:["Wars, Conflicts and Terrorism","International Relations","Parks and Museums","Communities and Subcultures","Culture and Tradition"],ct:["qa","iw","zl","ye","za"]},breaking_news:[false],contentType:["CompoundStory"]}}catch(e){}};
<pchannel="wp.com"class="interstitial-link"><i><ahref="http://www.washingtonpost.com/world/national-security/tunisia-after-igniting-arab-spring-sends-the-most-fighters-to-islamic-state-in-syria/2014/10/28/b5db4faa-5971-11e4-8264-deed989ae9a2_story.html">[Read: Tunisia sends most foreign fighters to Islamic State in Syria]</a></i>
if(typeof wp_meta_data=="undefined"){try{wp_meta_data={platform:"pagebuilder",showAds:true,showPreRollAds:false,isHomepage:false,isErrorPage:false,isMultimedia:false,wt:"article_story",page_id:["ca175d64-cd76-11e4-a2a7-9517a3a70506"],author:["Steven Mufson"],keywords:["business"],clavis:{keywords:["Russian President Vladimir Putin","Netanyahu","Obama","Republicans","Authority","leader","Israel","Iran","deal","relation","issue","minister","program","state","peace","Martin Indyk","month","United States","time","Gaza conflict","year","breakthrough","UN General Assembly","negotiation","election"],topics:["National Security","President and Administration","Wars, Conflicts and Terrorism","International Relations","Religion and Belief"],ct:["sz","lf","qa","iw","rj"]},breaking_news:[false],contentType:["CompoundStory"]}}catch(e){}};
var sTopicException = ['7002','7006','7022','7023','7024'];
// Hides the Pop Tools list on pages with a sensitive secondary topic id.
// Updated 2015.02.04 by David Ware
for (i = 0; i <wloop;i++){
for (i = 0; i < wloop; i++) {
// if this is a sensitive topic and the topicId is not in the list
if (mySplitResultsecTopId[i].substring(0,1) === '7' && sTopicException.indexOf(mySplitResultsecTopId[i]) === -1){
$('.pop_toolst_rdr').css('display','none');
@ -1007,7 +1007,7 @@
var pubSource = 'WebMD Medical News';
/* Runs through the different partners and sees if one of them exists in the pub source */
for (var i=0; i <= partnerNames.length-1; i++) { isThere = pubSource.search(partnerNames[i]); if (isThere != -1) {whichOne = i} }
for (var i=0; i <= partnerNames.length-1; i++) { isThere = pubSource.search(partnerNames[i]); if (isThere != -1) {whichOne = i} }
/* If it found one, makes the JS calls and also populates the correct divs with the files out of partners node */
if (whichOne != -1) {
@ -2033,35 +2033,35 @@
module.init({
selector: "#newsletter-mapping-center",
template: {
successMsg: '<pclass="success"><span>{email}</span><br//>You will receive your first newsletter with our next scheduled circulation!</p>',
successMsg: '<p class="success"><span>{email}</span><br //>You will receive your first newsletter with our next scheduled circulation!</p>',
"<em>By clicking submit I agree to WebMD's <ahref='http://www.webmd.com/about-webmd-policies/about-privacy-policy'target='_blank'>Privacy Policy</a></em>" +
'<aclass="nl-link"href="https://member.webmd.com/newsletters/newsletters.aspx"onclick="return sl(this,"nw","nl-multie_s")">Sign up for more topics!</a>' +
'<a class="nl-link" href="https://member.webmd.com/newsletters/newsletters.aspx" onclick="return sl(this,"nw","nl-multie_s")">Sign up for more topics!</a>' +
'</form>\n' + '<aclass="nl-link"href="https://member.webmd.com/newsletters/newsletters.aspx"onclick="return sl(this,"nw","nl-multie_s")">Sign up for more topics!</a>' + '{postForm}' + '</div>\n' + // .nls-content
'{postContent}' + '</div>',
successMsg: '<p class="success"><span>{email}</span><br //>You will receive your first newsletter with our next scheduled circulation!</p>',