When you enter text, LibreOffice automatically recognizes a word that may be a URL and replaces the word with a hyperlink. LibreOffice formats the hyperlink with direct font attributes (color and underline) the properties of which are obtained from certain Character Styles.
If you do not want LibreOffice to automatically recognize URLs as you are typing, there are several ways of turning off this feature.
Undo URL Recognition
When you are typing and notice that a text has just been automatically converted into a hyperlink, press CommandCtrl+Z to undo this formatting.
If you do not notice this conversion until later, select the hyperlink and choose the menu command \<emph\>Format - Default Formatting\</emph\>.
Turn off URL Recognition
Load a document of the type for which you want to modify the URL recognition.
If you want to modify the URL recognition for text documents, open a text document.
Choose \<emph\>Tools - AutoCorrect\</emph\>.
In the \<emph\>AutoCorrect\</emph\> dialog, select the \<emph\>Options\</emph\> tab.
If you unmark \<emph\>URL Recognition\</emph\>, words will no longer be automatically replaced with hyperlinks.
In LibreOffice Writer there are two check boxes in front of \<emph\>URL Recognition\</emph\>. The box in the first column is for later post-editing and the box in the second column is for AutoCorrect as you type.