<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>Let me see if I can get the XHTML filters to stop outputting milestone divs.<br><br>The XHTML filters were meant to use updated HTML/CSS practices, which at the time was XHTML. Now it would probably be HTML5 so, I chose a poor name for the filters. Anyway, if milestone divs are causing you a world of hurt, let me just output <div></div><br><br><br><div class="gmail_quote">On April 17, 2020 4:33:26 AM MST, Karl Kleinpaste <karl@kleinpaste.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="moz-cite-prefix">On 4/16/20 11:08 PM, Greg Hellings
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAHxvOVJCEASSbGzrWJKAqDW4KvVWy2t1GyEEDgPyh8a5LYo8zg@mail.gmail.com">
<div><!DOCTYPE html> will give you HTML 5, not XHTML. XHTML
would be much wordier: <a href="https://en.wikipedia.org/wiki/Document_type_declaration#XHTML_Basic_DTDs" moz-do-not-send="true">https://en.wikipedia.org/wiki/Document_type_declaration#XHTML_Basic_DTDs</a></div>
</blockquote>
<br>
<font face="FreeSerif">Well... That link itself says:</font><br>
<blockquote><span style="color: rgb(34, 34, 34); font-family:
sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">In<span> </span></span><a href="https://en.wikipedia.org/wiki/XHTML5" class="mw-redirect" title="XHTML5" style="text-decoration: none; color: rgb(11, 0,
128); background: none rgb(255, 255, 255); font-family:
sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px;">XHTML5</a><span style="color:
rgb(34, 34, 34); font-family: sans-serif; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;"><span> </span>the<span> </span></span><code style="font-family: monospace, monospace; color: rgb(0, 0, 0);
background-color: rgb(248, 249, 250); border: 1px solid rgb(234,
236, 240); border-radius: 2px; padding: 1px 4px; font-size:
14px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration-style: initial; text-decoration-color: initial;">DOCTYPE</code><span style="color: rgb(34, 34, 34); font-family: sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;"><span> </span>must be a case-sensitive
match of the string "</span><code class="mw-highlight
mw-highlight-lang-html" id="" dir="ltr" style="font-family:
monospace, monospace; color: rgb(0, 0, 0); background: rgb(248,
248, 248); border: 1px solid rgb(234, 236, 240); border-radius:
2px; padding: 1px 4px; direction: ltr; unicode-bidi: embed;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration-style: initial; text-decoration-color: initial;"><span class="cp" style="color: rgb(188, 122, 0);"><!DOCTYPE
html></span></code><span style="color: rgb(34, 34, 34);
font-family: sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">".<span> </span></span><br>
<span style="color: rgb(34, 34, 34); font-family: sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;"><span></span></span></blockquote>
<font face="FreeSerif">So I'm already confused. Didn't take much,
huh?</font><tt><br>
<br>
</tt>
<blockquote type="cite" cite="mid:CAHxvOVJCEASSbGzrWJKAqDW4KvVWy2t1GyEEDgPyh8a5LYo8zg@mail.gmail.com">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><font face="FreeSerif">- begins with <?xml...> line<br>
</font></div>
</blockquote>
<div><br>
</div>
<div>Doesn't seem to be strictly needed by browsers for XHTML
rendering, but it shouldn't hurt, either.</div>
</blockquote>
<font face="FreeSerif">I used it based on the examples seen at<br>
<a href="https://www.crosswire.org/pipermail/sword-devel/2019-March/046664.html">https://www.crosswire.org/pipermail/sword-devel/2019-March/046664.html</a><br>
which I saved at the time and used as a reference now.</font>
<blockquote type="cite" cite="mid:CAHxvOVJCEASSbGzrWJKAqDW4KvVWy2t1GyEEDgPyh8a5LYo8zg@mail.gmail.com">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><font face="FreeSerif"> - changes content type to
application/xhtml+xml (also tried just xhtml, no diff)<br>
</font></div>
</blockquote>
<div><br>
</div>
<div>That's not necessary to get you into XHTML mode.<br>
</div>
</blockquote>
<font face="FreeSerif">OK, keep that thought in mind -- now, ready
for my next confusion? Here goes:</font><br>
<blockquote type="cite" cite="mid:CAHxvOVJCEASSbGzrWJKAqDW4KvVWy2t1GyEEDgPyh8a5LYo8zg@mail.gmail.com"> They
only thing they care about is the Content-Type: in the HTTP
header. Of course, you don't have an HTTP header, but surely you
have a way to set it to "application/xhtml+xml"?</blockquote>
<font face="FreeSerif">See, on the one hand you say "not necessary"
but in your next breath you say it's "the only thing they care
about." OK, which is it?<br>
<br>
There has been this "meta" directive in the header to induce
general HTMLness via content-type since years before I got
involved, and I've never touched that particular aspect of it
until now.<br>
<br>
Trust me, I remain wide open to suggestions, but just in your one
response here, you've given me 2 completely self-contradictory
indications, one about DOCTYPE and one about content-type.<br>
<br>
Small wonder people have trouble writing code to deal with this, I
guess.</font><br>
</blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>