When copy/pasting LORD is changed to Lord.

Is there a setting to allow it to remain in all caps? In the example below the 1st use of the word “LORD” has the class=divineName. The 2nd use should be “Lord” as it is not the divineName.

Code submitted by OP:

 <html>
    <head>
       <meta http-equiv="content-type" content="text/html; charset=utf-8">
       <style type="text/css">
          <!-- A { text-decoration:none } *[dir=rtl] { text-align: right; } .transChangeSupplied { font-style: italic; } -->
       </style>
    </head>
    <body>
       (Psalms 16:2)
       <span class="line indent0">I say to the <span class="divineName">Lord</span>,
       “You are my Lord;</span>
       <br />
       <span class="line indent0">I have no good apart from you.”</span>
       <br />
       <br />
     </body>
 </html>

Edited by ajlittoz: question description is HTML code. If it is not indented correctly, it is interpreted by the question engine as being the formatting to apply, making the question totally obscure.

Maybe I don’t understand the issue. I typed LORD into this comment, copied it into my clipboard and pasted it into my document and it is still in all caps.

Try putting <span class=“divineName”>LORD</span>in the first mention and leave it out after that and see if that works

Please explain the relation between this HTML code snippet and what you are trying to do. In particular, tell us which Writer mode you are using: “standard” text document or HTML document composer?

Don’t forget to mention your OS and LO version.

Do that by clicking on the edit link below your question and position the cursor after my remark about formatting your question.

You force a line break by entering twice Return: this leaves an intermediate empty line in the green entry box but it is correctly translated when you hit Save.

While you’re at it, edit the title to make it shorter. Most of what is presently there should be moved to the question description.

Moved most of the title into the question body. See guidelines for asking.

When you copy/paste the troublesome text, do you also copy/paste the CSS style sheet specification for span class=“divineName”? Otherwise, how is anyone to know that

<span class="divineName">Lord</span>

is supposed to result in LORD?

As given, your html code is incomplete, as it lacks an href declaration of the presumed CSS style sheet (style.css), as in

<head>
...
<link rel="stylesheet" href="style.css" />
</head>

Maybe that is part of the problem as well.

But none of this has anything to do with LibreOffice.

Thanks ve3oat. I copied this from Xiphos Bible Software. I’ll make them aware of the problem.

Try clearing Capitalise first letter of every sentence.