PageRenderTime 27ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/data/filters/html-output.cite.html

https://gitlab.com/dkg/gmime
HTML | 45 lines | 45 code | 0 blank | 0 comment | 0 complexity | 92a16d668e7d09e7aa6b3d25b5b9f841 MD5 | raw file
  1. &gt; This is a sample message body with some embedded urls such as Google's<br>
  2. &gt; search page at <a href="http://www.google.com">www.google.com</a>. Did it capture that last period? I hope<br>
  3. &gt; not! How about <a href="ftp://ftp.freebsd.org/pub/FreeBSD/">ftp.freebsd.org/pub/FreeBSD/</a>&nbsp;or even an email address<br>
  4. &gt; like <a href="mailto:fejj@gnome.org">fejj@gnome.org</a>? It should also work with mailto urls. Let's try<br>
  5. &gt; it, shall we? We can use <a href="mailto:fejj@gnome.org">mailto:fejj@gnome.org</a>&nbsp;as a simple case...<br>
  6. &gt; <br>
  7. &gt; We should also check that GMimeFilterHTML is able to detect full urls<br>
  8. &gt; like <a href="https://github.com/jstedfast/gmime">https://github.com/jstedfast/gmime</a>&nbsp;- GMime's very own website!<br>
  9. &gt; <br>
  10. &gt; Or <a href="file://localhost/dev/null">file://localhost/dev/null</a>&nbsp;file URLs.<br>
  11. &gt; <br>
  12. &gt; GMime's URL scanner should also work more complex urls:<br>
  13. &gt; <br>
  14. &gt; - addr-spec w/ domain literal: <a href="mailto:fejj@[127.0.0.1]">fejj@[127.0.0.1]</a><br>
  15. &gt; - web url w/ domain literal: <a href="http://[127.0.0.1]/index.html">http://[127.0.0.1]/index.html</a><br>
  16. &gt; - web url w/ username: <a href="http://user@domain.com/index.html">http://user@domain.com/index.html</a><br>
  17. &gt; - web url w/ user &amp; pass: <a href="http://user:pass@domain.com:80/index.html">http://user:pass@domain.com:80/index.html</a><br>
  18. &gt; - web url w/ user and domain literal: <a href="http://user@[127.0.0.1]/index.html">http://user@[127.0.0.1]/index.html</a><br>
  19. &gt; - web url w/ IPv6 domain literals:<br>
  20. &gt; &nbsp; - <a href="http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html">http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html</a><br>
  21. &gt; &nbsp; - <a href="http://[1080:0:0:0:8:800:200C:417A]/index.html">http://[1080:0:0:0:8:800:200C:417A]/index.html</a><br>
  22. &gt; &nbsp; - <a href="http://[3ffe:2a00:100:7031::1">http://[3ffe:2a00:100:7031::1</a>]<br>
  23. &gt; &nbsp; - <a href="http://[1080::8:800:200C:417A]/foo">http://[1080::8:800:200C:417A]/foo</a><br>
  24. &gt; &nbsp; - <a href="http://[::192.9.5.5]/ipng">http://[::192.9.5.5]/ipng</a><br>
  25. &gt; &nbsp; - <a href="http://[::FFFF:129.144.52.38]:80/index.html">http://[::FFFF:129.144.52.38]:80/index.html</a><br>
  26. &gt; &nbsp; - <a href="http://[2010:836B:4179::836B:4179">http://[2010:836B:4179::836B:4179</a>]<br>
  27. &gt; - web url surrounded by []'s: [<a href="http://www.google.com/">http://www.google.com/</a>]<br>
  28. &gt; - web url surrounded by ()'s: (<a href="http://www.google.com/">http://www.google.com/</a>)<br>
  29. &gt; - web url surrounded by {}'s: {<a href="http://www.google.com/">http://www.google.com/</a>}<br>
  30. &gt; - web url surrounded by &lt;&gt;'s: &lt;<a href="http://www.google.com/">http://www.google.com/</a>&gt;<br>
  31. &gt; - web url with brackets: <a href="http://www.google.com/symbols.(123){1}[2].html">http://www.google.com/symbols.(123){1}[2].html</a><br>
  32. &gt; <br>
  33. &gt; And how about quoting? Let's give that a try...<br>
  34. &gt; <br>
  35. &gt; &gt; This is one level of quoting<br>
  36. &gt; &gt; &gt; And this is two levels of quoting<br>
  37. &gt; &gt; &gt; Yet more text that is quoted twice...<br>
  38. &gt; &gt; This is back down to one level...<br>
  39. &gt; &gt; &gt; &gt; And this is three levels! WOW! CRAZY!<br>
  40. &gt; Okay, let's not get too carried away...<br>
  41. &gt; <br>
  42. &gt; Did that work as expected?<br>
  43. &gt; <br>
  44. &gt; Now let's try adding some unicode text: &#26684;&#12492;&#36796;&#37117;&#24195;&#12501;&#12371;&#28023;&#32773;&#12376;&#12354;&#12540;&#22899;&#30707;&#12479;&#12459;&#32862;&#32618;&#12523;&#29987;&#34920;&#12469;&#12454;&#12523;&#12521;&#27096;&#20778;&#12465;&#25173;&#27515;&#25919;&#12368;&#20170;&#29699;&#12461;&#12522;&#12488;&#20006;&#23567;&#12426;&#12375;&#26286;&#38988;&#21407;&#12465;&#31038;6&#34892;&#12518;&#12471;&#12522;&#32004;&#30274;&#12540;&#12382;&#12434;&#25903;&#21335;&#12423;&#33879;&#21205;&#12475;&#12512;&#38291;&#26524;&#26376;&#21021;&#27810;&#12377;&#12418;&#12382;&#12420;&#12290;39&#26032;&#30000;&#12429;&#12367;&#35527;&#22258;&#12488;&#12450;&#12504;&#12493;&#34920;&#32722;&#26908;&#12504;&#26009;&#21215;&#12473;&#12406;&#12424;&#12416;&#20250;&#26411;&#12358;&#36796;&#26481;&#12375;&#12408;&#12372;&#29992;74&#23455;&#24931;&#33900;4&#19968;&#12403;&#12394;&#35211;&#36899;&#12421;&#12402;&#12368;&#38989;&#31639;&#12409;&#12366;&#12387;&#21021;&#31680;&#12371;&#12540;&#35222;&#30011;&#35352;&#12484;&#12501;&#23475;&#36074;&#30772;&#20116;&#23567;&#12419;&#12488;&#12423;&#12426;&#12290;<br>
  45. &gt; <br>