Season’s Greetings!
An HTML file that I have does not display properly in DTTG Version 3.6.2 (172284). The file contains a JPG image whose filename has an apostrophe, and the image does not load at all. HTML files containing JPGs with no apostrophes display correctly on DTTG.
This same HTML file does display properly on my Macintosh in DEVONTHINK version 3.8.7, Finder via Spacebar Preview, Safari, and Firefox.
The HTML file also displays properly in two other iPhone apps when both the file and the JPG image are local (on the iPhone). One of these apps claims that it “uses the same WebKit engine that is used by Safari and provided by iOS (WKWebView).”
The HTML file and JPG were created on the Macintosh, imported to an indexed database on DEVONTHINK on the Mac, and then synced to a database on DTTG. I verified that the HTML file on DEVONTHINK is the same as the file on DTTG.
Environments:
iOS 15.7.2
DTTG Version 3.6.2 (172284)
macOS Monterey 12.6.2
DEVONthink Standard Edition 3.8.7
Safari Version 16.2 (17614.3.7.1.7, 17614)
Firefox 108.0.1 (64-bit)
Here is the sample HTML code.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Apostrophe in HTML Image Name</title>
<meta charset="UTF-8">
</head>
<body>
<p>Image with apostrophe.</p>
<img src="world's.jpg" alt="ALT world1">
<p>End of image.</p>
<hr>
<p>Image with apostrophe.</p>
<img src="world's.jpg" alt="ALT world2">
<p>End of image.</p>
<hr>
<p>Image with no apostrophe.</p>
<img src="correct.jpg" alt="ALT correct">
<p>End of image.</p>
</body>
</html>
Should I simply remove apostrophes from JPG filenames, or is DTTG likely to change?