Why doesn't write support shtml files as html files

SHTML Source Display on writer, like html

Can you please provide greater detail? SHTML is simply a server-side include arrangement for HTML. Are you talking about the display of code on screen? How a HTML file is saved? Other options for INCLUDE statements?

I would like to be able to switch between the wysiwyg display and source html display for shtml files that contain include statements. This has been available in OpenOffice. I am now using LibreOffice because it is installed by default with both Ubuntu ans Linux Mint which I use. Being able to edit the html source without having to switch to a text editor is convenient and a time saver. Simple renaming the shtml file to html does not guarantee, proper browser function with includes.

Why don’t you just rename your shtml files to html?

This does appear to be a problem, however it is possibly several related problems. Given a basic file (b.html) that is to be included:

	<p>Here is some text to include.</p>

…and a parent file (a.shtml) that is to include this file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>page title</title>
</head>
<body>
<!--#include virtual="b.html" -->
</body>
</html>

The print view and web view both show the include as a comment. Renaming the parent file from a .shtml to .html extension makes no difference. To confirm, there is also no View > HTML Source menu option under v4.0.3.3, regardless of how the file is named. This is under GNU/Linux.

I could not find a related open bug, so please raise a bug and provide as much information about this new feature as possible. Please post a link to any bugs you file in a comment below using the format “fdo#123456”.

Thanks!