diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test-pages/ietf-1/expected.html | 2 | ||||
-rw-r--r-- | test/test-pages/wapo-1/expected.html | 191 |
2 files changed, 147 insertions, 46 deletions
diff --git a/test/test-pages/ietf-1/expected.html b/test/test-pages/ietf-1/expected.html index eab8ec5..70a2064 100644 --- a/test/test-pages/ietf-1/expected.html +++ b/test/test-pages/ietf-1/expected.html @@ -1076,7 +1076,7 @@ charset=UTF-8","Content-Length":106}}} M. Jones, D. Hardt, "The OAuth 2.0 Authorization Framework: Bearer Token Usage", <a href="http://fakehost/test/rfc6750">RFC6750</a>, October 2012. - [] + [<a id="ref-AUTHORING" name="ref-AUTHORING">AUTHORING</a>] "Using remoteStorage for web authoring", reSite wiki, retrieved September 2014. <a href="https://github.com/michielbdejong/resite/wiki">https://github.com/michielbdejong/resite/wiki</a> /Using-remoteStorage-for-web-authoring diff --git a/test/test-pages/wapo-1/expected.html b/test/test-pages/wapo-1/expected.html index 4365128..e970c80 100644 --- a/test/test-pages/wapo-1/expected.html +++ b/test/test-pages/wapo-1/expected.html @@ -1,45 +1,146 @@ - <article> - <p> <span class="dateline">CAIRO —</span> Gunmen opened fire on visitors at Tunisia’s most renowned museum on Wednesday, killing at least 19 people, including 17 foreigners, in an assault that threatened to upset the fragile stability of a country seen as the lone success of the Arab Spring.</p> - <p>It was the most deadly terrorist attack in the North African nation in more than a decade. Although no group claimed responsibility, the bloodshed raised fears that militants linked to the Islamic State were expanding their operations.</p> - <p>The attackers, clad in military uniforms, <a href="http://www.washingtonpost.com/world/gunmen-storm-museum-in-tunisia-killing-at-least-8/2015/03/18/00202e76-cd73-11e4-8730-4f473416e759_story.html">stormed the Bardo National Museum</a> on Wednesday afternoon, seizing and gunning down foreign tourists before security forces raided the building to end the siege. The museum is a major tourist draw and is near the heavily guarded national parliament in downtown Tunis.</p> - <p>Tunisian Prime Minister Habib Essid said that in addition to the slain foreigners — from Italy, Poland, Germany and Spain — a local museum worker and a security official were killed. Two gunmen died, and three others may have escaped, officials said. About 50 other people were wounded, according to local news reports.</p> - <p>“Our nation is in danger,” Essid declared in a televised address Wednesday evening. He vowed that the country would be “merciless” in defending itself.</p> - <p channel="wp.com" class="interstitial-link"> <i> <a href="http://www.washingtonpost.com/blogs/worldviews/wp/2015/03/18/why-tunisia-the-arab-springs-sole-success-story-suffers-from-islamist-violence/">[Read: Why Tunisia, Arab Spring’s sole success story, suffers from Islamist violence]</a> </i> </p> - <p>Tunisia, a mostly Muslim nation of about 11 million people, was governed for decades by autocrats who imposed secularism. Its sun-drenched Mediterranean beaches drew thousands of bikini-clad tourists, and its governments promoted education and other rights for women. But the country has grappled with rising Islamist militancy since a popular uprising overthrew its dictator four years ago, setting the stage for the Arab Spring revolts across the region.</p> - <p>Thousands of Tunisians have flocked to join jihadist groups in Syria, including the Islamic State, making the country one of the major sources of foreign fighters in the conflict. Tunisian security forces have also fought increasing gunbattles with jihadists at home.</p> - <p>Despite this, the country has been hailed as a model of democratic transition as other governments that came to power after the Arab Spring collapsed, often in bloody confrontations. But the attack Wednesday — on a national landmark that showcases Tunisia’s rich heritage — could heighten tensions in a nation that has become deeply divided between pro- and anti-Islamist political factions.</p> - <p>Many Tunisians accuse the country’s political Islamists, who held power from 2011 to 2013, of having been slow to respond to the growing danger of terrorism. Islamist politicians have acknowledged that they did not realize the threat that would develop when radical Muslims, who had been repressed under authoritarian regimes, won the freedom to preach freely in mosques.</p> - <p>In Washington, White House press secretary Josh Earnest <a href="http://hosted2.ap.org/APDEFAULT/cae69a7523db45408eeb2b3a98c0c9c5/Article_2015-03-18-ML--Tunisia-Attack-The%20Latest/id-653822d829b24cef993c5bd6a7ce44b5">condemned the attack </a>and said the U.S. government was willing to assist Tunisian authorities in the investigation.</p> - <div class="inline-content inline-video"> - <p class="inline-video-caption"> <span class="pb-caption">Gunmen in military uniforms stormed Tunisia's national museum, killing at least 19 people, most of them foreign tourists. (Reuters)</span> </p> - </div> - <p>“This attack today is meant to threaten authorities, to frighten tourists and to negatively affect the economy,” said Lotfi Azzouz, Tunisia country director for Amnesty International, a London-based rights group.</p> - <p>Tourism is critical to Tunisia’s economy, accounting for 15 percent of its gross domestic product in 2013, according to the World Travel and Tourism Council, an industry body. The Bardo museum hosts one of the world’s most outstanding collections of Roman mosaics and is popular with tourists and Tunisians alike.</p> - <p channel="wp.com" class="interstitial-link"> <i>[<a href="http://www.washingtonpost.com/blogs/worldviews/wp/2015/03/18/tunisias-bardo-museum-attacked-by-terrorists-is-home-to-amazing-roman-treasures/">Bardo museum houses amazing Roman treasures</a>]</i> </p> - <p>The attack is “also aimed at the country’s security and stability during the transition period,” Azzouz said. “And it could have political repercussions — like the curtailing of human rights, or even less government transparency if there’s fear of further attacks.”</p> - <p>The attack raised concerns that the government, led by secularists, would be pressured to stage a wider crackdown on Islamists of all stripes. Lawmakers are drafting an anti-terrorism bill to give security forces additional tools to fight militants.</p> - <p channel="wp.com" class="interstitial-link"> <i> <a href="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> </p> - <p>“We must pay attention to what is written” in that law, Azzouz said. “There is worry the government will use the attack to justify some draconian measures.”</p> - <p>Tunisian Islamists and secular forces have worked together — often reluctantly — to defuse the country’s political crises in the years since the revolt.</p> - <p>Last fall, Tunisians elected a secular-minded president and parliament dominated by liberal forces after <a href="http://www.washingtonpost.com/world/middle_east/tunisias-islamists-get-sobering-lesson-in-governing/2014/11/20/b6fc8988-65ad-11e4-ab86-46000e1d0035_story.html">souring on Islamist-led rule</a>. In 2011, voters had elected a government led by the Ennahda party — a movement similar to Egypt’s Islamist Muslim Brotherhood. But a political stalemate developed as the party and others tried to draft the country’s new constitution. The Islamists failed to improve a slumping economy. And Ennahda came under fire for what many Tunisians saw as a failure to crack down on Islamist extremists.</p> - <div class="inline-content inline-graphic-linked"><span class="pb-caption">Map: Flow of foreign fighters to Syria</span></div> - <p>After the collapse of the authoritarian system in 2011, hard-line Muslims known as Salafists attacked bars and art galleries. Then, in 2012, hundreds of Islamists <a href="http://www.washingtonpost.com/world/middle_east/in-tunisia-embassy-attack-tests-fledgling-democracy/2012/09/20/19f3986a-0273-11e2-8102-ebee9c66e190_story.html">assaulted the U.S. Embassy </a>in Tunis, shattering windows and hurling gasoline bombs, after the release of a crude online video about the prophet Muhammad. - <a href="http://www.bbc.com/news/world-africa-23452979"></a>The government outlawed the group behind the attack — Ansar al-Sharia, an al-Qaeda-linked organization — and began a crackdown. But the killing <a href="http://www.bbc.com/news/world-africa-23452979">of two leftist politicians</a> in 2013 prompted a fresh political crisis, and Ennahda stepped down, replaced by a technocratic government.</p> - <p>Tunisia’s <a href="http://www.washingtonpost.com/blogs/monkey-cage/wp/2015/02/03/tunisia-opts-for-an-inclusive-new-government/">current coalition government</a> includes an Ennahda minister in the cabinet. Still, many leftist figures openly oppose collaboration with the movement’s leaders.</p> - <p>“Ennahda is responsible for the current deterioration of the situation, because they were careless with the extremists” while they were in power, Azzouz said.</p> - <p>The leader of Ennahda, Rachid Ghannouchi, condemned Wednesday’s attack, saying in a statement that it “will not break our people’s will and will not undermine our revolution and our democracy.”</p> - <p>Security officials are particularly concerned by the collapse of Libya, where various armed groups are vying for influence and jihadist militants have entrenched themselves in major cities. Tunisians worry that extremists can easily get arms and training in the neighboring country.</p> - <p>In January, Libyan militants loyal to the Islamic State <a href="http://www.washingtonpost.com/world/middle_east/video-shows-purported-beheading-of-egyptian-christians-in-libya/2015/02/15/b8d0f092-b548-11e4-bc30-a4e75503948a_story.html">beheaded 21 Christians</a> — 20 of them Egyptian Copts — along the country’s coast. They later seized the Libyan city of Sirte.</p> - <div class="inline-content inline-graphic-embedded"><img class="unprocessed" data-hi-res-src="https://img.washingtonpost.com/rf/image_1484w/2010-2019/WashingtonPost/2015/03/18/Foreign/Graphics/tunisia600.jpg?uuid=1_yuLs2LEeSHME9HNBbnWQ" data-low-res-src="https://img.washingtonpost.com/rf/image_480w/2010-2019/WashingtonPost/2015/03/18/Foreign/Graphics/tunisia600.jpg?uuid=1_yuLs2LEeSHME9HNBbnWQ" src="https://img.washingtonpost.com/rf/image_480w/2010-2019/WashingtonPost/2015/03/18/Foreign/Graphics/tunisia600.jpg?uuid=1_yuLs2LEeSHME9HNBbnWQ"/> - <br/> - </div> - <p>Officials are worried about the number of Tunisian militants who may have joined the jihadists in Libya — with the goal of returning home to fight the Tunis government.</p> - <p>Ajmi Lourimi, a member of Ennahda’s general secretariat, said he believed the attack would unite Tunisians in the face of terrorism.</p> - <p>“There is a consensus here that this [attack] is alien to our culture, to our way of life. We want to unify against this danger,” Lourimi said. He said he did not expect a wider government campaign against Islamists.</p> - <p>“We have nothing to fear,” he said of himself and fellow Ennahda members. “We believe the Interior Ministry should be trained and equipped to fight and counter this militancy.”</p> - <p>The last major attack on a civilian target in Tunisia was in 2002, when al-Qaeda militants killed more than 20 people in a car bombing outside a synagogue in the city of Djerba.</p> - <p>Heba Habib contributed to this report.</p> - <p channel="wp.com"> <b>Read more:</b> </p> - <p channel="wp.com"> <a href="http://www.washingtonpost.com/world/middle_east/tunisias-islamists-get-sobering-lesson-in-governing/2014/11/20/b6fc8988-65ad-11e4-ab86-46000e1d0035_story.html" title="www.washingtonpost.com">Tunisia’s Islamists get a sobering lesson in governing</a> </p> - <p channel="wp.com"> <a href="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">Tunisia sends most foreign fighters to Islamic State in Syria</a> </p> - <p channel="wp.com"> <a href="http://www.washingtonpost.com/blogs/worldviews/wp/2015/03/18/tunisias-bardo-museum-attacked-by-terrorists-is-home-to-amazing-roman-treasures/">Tunisia’s Bardo museum is home to amazing Roman treasures</a> </p>
\ No newline at end of file +<article> + <p> <span class="dateline">CAIRO —</span> Gunmen opened fire on visitors at + Tunisia’s most renowned museum on Wednesday, killing at least 19 people, + including 17 foreigners, in an assault that threatened to upset the fragile + stability of a country seen as the lone success of the Arab Spring.</p> + <p>It was the most deadly terrorist attack in the North African nation in + more than a decade. Although no group claimed responsibility, the bloodshed + raised fears that militants linked to the Islamic State were expanding + their operations.</p> + <p>The attackers, clad in military uniforms, <a href="http://www.washingtonpost.com/world/gunmen-storm-museum-in-tunisia-killing-at-least-8/2015/03/18/00202e76-cd73-11e4-8730-4f473416e759_story.html">stormed the Bardo National Museum</a> on + Wednesday afternoon, seizing and gunning down foreign tourists before security + forces raided the building to end the siege. The museum is a major tourist + draw and is near the heavily guarded national parliament in downtown Tunis.</p> + <p>Tunisian Prime Minister Habib Essid said that in addition to the slain + foreigners — from Italy, Poland, Germany and Spain — a local museum worker + and a security official were killed. Two gunmen died, and three others + may have escaped, officials said. About 50 other people were wounded, according + to local news reports.</p> + <p>“Our nation is in danger,” Essid declared in a televised address Wednesday + evening. He vowed that the country would be “merciless” in defending itself.</p> + <p channel="wp.com" class="interstitial-link"> <i> <a href="http://www.washingtonpost.com/blogs/worldviews/wp/2015/03/18/why-tunisia-the-arab-springs-sole-success-story-suffers-from-islamist-violence/">[Read: Why Tunisia, Arab Spring’s sole success story, suffers from Islamist violence]</a> </i> + </p> + <p>Tunisia, a mostly Muslim nation of about 11 million people, was governed + for decades by autocrats who imposed secularism. Its sun-drenched Mediterranean + beaches drew thousands of bikini-clad tourists, and its governments promoted + education and other rights for women. But the country has grappled with + rising Islamist militancy since a popular uprising overthrew its dictator + four years ago, setting the stage for the Arab Spring revolts across the + region.</p> + <p>Thousands of Tunisians have flocked to join jihadist groups in Syria, + including the Islamic State, making the country one of the major sources + of foreign fighters in the conflict. Tunisian security forces have also + fought increasing gunbattles with jihadists at home.</p> + <p>Despite this, the country has been hailed as a model of democratic transition + as other governments that came to power after the Arab Spring collapsed, + often in bloody confrontations. But the attack Wednesday — on a national + landmark that showcases Tunisia’s rich heritage — could heighten tensions + in a nation that has become deeply divided between pro- and anti-Islamist + political factions.</p> + <p>Many Tunisians accuse the country’s political Islamists, who held power + from 2011 to 2013, of having been slow to respond to the growing danger + of terrorism. Islamist politicians have acknowledged that they did not + realize the threat that would develop when radical Muslims, who had been + repressed under authoritarian regimes, won the freedom to preach freely + in mosques.</p> + <p>In Washington, White House press secretary Josh Earnest <a href="http://hosted2.ap.org/APDEFAULT/cae69a7523db45408eeb2b3a98c0c9c5/Article_2015-03-18-ML--Tunisia-Attack-The%20Latest/id-653822d829b24cef993c5bd6a7ce44b5">condemned the attack </a>and + said the U.S. government was willing to assist Tunisian authorities in + the investigation.</p> + <div class="inline-content inline-video"> + + <p> <span class="pb-caption">Gunmen in military uniforms stormed Tunisia's national museum, killing at least 19 people, most of them foreign tourists. (Reuters)</span> + </p> + </div> + <p>“This attack today is meant to threaten authorities, to frighten tourists + and to negatively affect the economy,” said Lotfi Azzouz, Tunisia country + director for Amnesty International, a London-based rights group.</p> + <p>Tourism is critical to Tunisia’s economy, accounting for 15 percent of + its gross domestic product in 2013, according to the World Travel and Tourism + Council, an industry body. The Bardo museum hosts one of the world’s most + outstanding collections of Roman mosaics and is popular with tourists and + Tunisians alike.</p> + <p channel="wp.com" class="interstitial-link"> <i>[<a href="http://www.washingtonpost.com/blogs/worldviews/wp/2015/03/18/tunisias-bardo-museum-attacked-by-terrorists-is-home-to-amazing-roman-treasures/">Bardo museum houses amazing Roman treasures</a>]</i> + </p> + <p>The attack is “also aimed at the country’s security and stability during + the transition period,” Azzouz said. “And it could have political repercussions + — like the curtailing of human rights, or even less government transparency + if there’s fear of further attacks.”</p> + <p>The attack raised concerns that the government, led by secularists, would + be pressured to stage a wider crackdown on Islamists of all stripes. Lawmakers + are drafting an anti-terrorism bill to give security forces additional + tools to fight militants.</p> + + <p channel="wp.com" class="interstitial-link"> <i> <a href="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> + </p> + <p>“We must pay attention to what is written” in that law, Azzouz said. “There + is worry the government will use the attack to justify some draconian measures.”</p> + <p>Tunisian Islamists and secular forces have worked together — often reluctantly + — to defuse the country’s political crises in the years since the revolt.</p> + <p>Last fall, Tunisians elected a secular-minded president and parliament + dominated by liberal forces after <a href="http://www.washingtonpost.com/world/middle_east/tunisias-islamists-get-sobering-lesson-in-governing/2014/11/20/b6fc8988-65ad-11e4-ab86-46000e1d0035_story.html">souring on Islamist-led rule</a>. + In 2011, voters had elected a government led by the Ennahda party — a movement + similar to Egypt’s Islamist Muslim Brotherhood. But a political stalemate + developed as the party and others tried to draft the country’s new constitution. + The Islamists failed to improve a slumping economy. And Ennahda came under + fire for what many Tunisians saw as a failure to crack down on Islamist + extremists.</p> + <div class="inline-content inline-graphic-linked"> + <span class="pb-caption">Map: Flow of foreign fighters to Syria</span> + </div> + <p>After the collapse of the authoritarian system in 2011, hard-line Muslims + known as Salafists attacked bars and art galleries. Then, in 2012, hundreds + of Islamists <a href="http://www.washingtonpost.com/world/middle_east/in-tunisia-embassy-attack-tests-fledgling-democracy/2012/09/20/19f3986a-0273-11e2-8102-ebee9c66e190_story.html">assaulted the U.S. Embassy </a>in + Tunis, shattering windows and hurling gasoline bombs, after the release + of a crude online video about the prophet Muhammad. <a href="http://www.bbc.com/news/world-africa-23452979"></a>The + government outlawed the group behind the attack — Ansar al-Sharia, an al-Qaeda-linked + organization — and began a crackdown. But the killing <a href="http://www.bbc.com/news/world-africa-23452979">of two leftist politicians</a> in + 2013 prompted a fresh political crisis, and Ennahda stepped down, replaced + by a technocratic government.</p> + <p>Tunisia’s <a href="http://www.washingtonpost.com/blogs/monkey-cage/wp/2015/02/03/tunisia-opts-for-an-inclusive-new-government/">current coalition government</a> includes + an Ennahda minister in the cabinet. Still, many leftist figures openly + oppose collaboration with the movement’s leaders.</p> + <p>“Ennahda is responsible for the current deterioration of the situation, + because they were careless with the extremists” while they were in power, + Azzouz said.</p> + <p>The leader of Ennahda, Rachid Ghannouchi, condemned Wednesday’s attack, + saying in a statement that it “will not break our people’s will and will + not undermine our revolution and our democracy.”</p> + <p>Security officials are particularly concerned by the collapse of Libya, + where various armed groups are vying for influence and jihadist militants + have entrenched themselves in major cities. Tunisians worry that extremists + can easily get arms and training in the neighboring country.</p> + <p>In January, Libyan militants loyal to the Islamic State <a href="http://www.washingtonpost.com/world/middle_east/video-shows-purported-beheading-of-egyptian-christians-in-libya/2015/02/15/b8d0f092-b548-11e4-bc30-a4e75503948a_story.html">beheaded 21 Christians</a> — + 20 of them Egyptian Copts — along the country’s coast. They later seized + the Libyan city of Sirte.</p> + <div class="inline-content inline-graphic-embedded"> + <img class="unprocessed" data-hi-res-src="https://img.washingtonpost.com/rf/image_1484w/2010-2019/WashingtonPost/2015/03/18/Foreign/Graphics/tunisia600.jpg?uuid=1_yuLs2LEeSHME9HNBbnWQ" data-low-res-src="https://img.washingtonpost.com/rf/image_480w/2010-2019/WashingtonPost/2015/03/18/Foreign/Graphics/tunisia600.jpg?uuid=1_yuLs2LEeSHME9HNBbnWQ" src="https://img.washingtonpost.com/rf/image_480w/2010-2019/WashingtonPost/2015/03/18/Foreign/Graphics/tunisia600.jpg?uuid=1_yuLs2LEeSHME9HNBbnWQ"></img><br></br></div> + <p>Officials are worried about the number of Tunisian militants who may have + joined the jihadists in Libya — with the goal of returning home to fight + the Tunis government.</p> + <p>Ajmi Lourimi, a member of Ennahda’s general secretariat, said he believed + the attack would unite Tunisians in the face of terrorism.</p> + <p>“There is a consensus here that this [attack] is alien to our culture, + to our way of life. We want to unify against this danger,” Lourimi said. + He said he did not expect a wider government campaign against Islamists.</p> + <p>“We have nothing to fear,” he said of himself and fellow Ennahda members. + “We believe the Interior Ministry should be trained and equipped to fight + and counter this militancy.”</p> + <p>The last major attack on a civilian target in Tunisia was in 2002, when + al-Qaeda militants killed more than 20 people in a car bombing outside + a synagogue in the city of Djerba.</p> + + <p>Heba Habib contributed to this report.</p> + + <p> <i></i> + </p> + + <p channel="wp.com"> <b>Read more:</b> + </p> + <p channel="wp.com"> <a href="http://www.washingtonpost.com/world/middle_east/tunisias-islamists-get-sobering-lesson-in-governing/2014/11/20/b6fc8988-65ad-11e4-ab86-46000e1d0035_story.html" title="www.washingtonpost.com">Tunisia’s Islamists get a sobering lesson in governing</a> + </p> + <p channel="wp.com"> <a href="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">Tunisia sends most foreign fighters to Islamic State in Syria</a> + </p> + <p channel="wp.com"> <a href="http://www.washingtonpost.com/blogs/worldviews/wp/2015/03/18/tunisias-bardo-museum-attacked-by-terrorists-is-home-to-amazing-roman-treasures/">Tunisia’s Bardo museum is home to amazing Roman treasures</a> + </p> + + </article>
\ No newline at end of file |