File: html-output.mark.html

package info (click to toggle)
gmime 3.2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 10,160 kB
  • sloc: ansic: 46,466; sh: 4,355; makefile: 571; python: 8; perl: 6
file content (45 lines) | stat: -rw-r--r-- 4,461 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
This is a sample message body with some embedded urls such as Google's<br>
search page at <a href="http://www.google.com">www.google.com</a>. Did it capture that last period? I hope<br>
not! How about <a href="ftp://ftp.freebsd.org/pub/FreeBSD/">ftp.freebsd.org/pub/FreeBSD/</a>&nbsp;or even an email address<br>
like <a href="mailto:fejj@gnome.org">fejj@gnome.org</a>? It should also work with mailto urls. Let's try<br>
it, shall we? We can use <a href="mailto:fejj@gnome.org">mailto:fejj@gnome.org</a>&nbsp;as a simple case...<br>
<br>
We should also check that GMimeFilterHTML is able to detect full urls<br>
like <a href="https://github.com/jstedfast/gmime">https://github.com/jstedfast/gmime</a>&nbsp;- GMime's very own website!<br>
<br>
Or <a href="file://localhost/dev/null">file://localhost/dev/null</a>&nbsp;file URLs.<br>
<br>
GMime's URL scanner should also work more complex urls:<br>
<br>
- addr-spec w/ domain literal: <a href="mailto:fejj@[127.0.0.1]">fejj@[127.0.0.1]</a><br>
- web url w/ domain literal: <a href="http://[127.0.0.1]/index.html">http://[127.0.0.1]/index.html</a><br>
- web url w/ username: <a href="http://user@domain.com/index.html">http://user@domain.com/index.html</a><br>
- 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>
- 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>
- web url w/ IPv6 domain literals:<br>
&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>
&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>
&nbsp; - <a href="http://[3ffe:2a00:100:7031::1">http://[3ffe:2a00:100:7031::1</a>]<br>
&nbsp; - <a href="http://[1080::8:800:200C:417A]/foo">http://[1080::8:800:200C:417A]/foo</a><br>
&nbsp; - <a href="http://[::192.9.5.5]/ipng">http://[::192.9.5.5]/ipng</a><br>
&nbsp; - <a href="http://[::FFFF:129.144.52.38]:80/index.html">http://[::FFFF:129.144.52.38]:80/index.html</a><br>
&nbsp; - <a href="http://[2010:836B:4179::836B:4179">http://[2010:836B:4179::836B:4179</a>]<br>
- web url surrounded by []'s: [<a href="http://www.google.com/">http://www.google.com/</a>]<br>
- web url surrounded by ()'s: (<a href="http://www.google.com/">http://www.google.com/</a>)<br>
- web url surrounded by {}'s: {<a href="http://www.google.com/">http://www.google.com/</a>}<br>
- web url surrounded by &lt;&gt;'s: &lt;<a href="http://www.google.com/">http://www.google.com/</a>&gt;<br>
- 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>
<br>
And how about quoting? Let's give that a try...<br>
<br>
<font color="#008888">&gt; This is one level of quoting</font><br>
<font color="#008888">&gt; &gt; And this is two levels of quoting</font><br>
<font color="#008888">&gt; &gt; Yet more text that is quoted twice...</font><br>
<font color="#008888">&gt; This is back down to one level...</font><br>
<font color="#008888">&gt; &gt; &gt; And this is three levels! WOW! CRAZY!</font><br>
Okay, let's not get too carried away...<br>
<br>
Did that work as expected?<br>
<br>
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>
<br>