# Overleaf : Biblatex string is too long [closed]

I'm using the biblatex package on Overleaf to print my bibliography.

Here is how it looks like:

As you can see, both the title and the url are going way to far on the right and not breaking lines. I do not have any idea how to fix this.

Here is my biblio code if you want to reproduce the result:

@online{web:OIV,
author = "Gouvernement Français",
title = "Ordonnance n°58-1371 du 29 décembre 1958 tendant à renforcer la protection des installations d'importance vitale",

• Questions like this can only properly be answered with a short, compilable example document that cites the entry and reproduces the screenshot. Without it we have to guess. My guess no. 1 is that you are loading the package ulem (\usepackage{ulem}). ulem redefines \emph to produce underlined output, which usually comes out unbreakable in the bibliography. Either don't load ulem at all or load it with the normalem option (\usepackage[normalem]{ulem}). ... – moewe Jul 7 at 19:43
• ... The second problems seems related to URL breaking: Your URL is too long to be broken nicely. The URL contains a session ID which is usually garbage and can be shortened to https://www.legifrance.gouv.fr/affichTexte.do?cidTexte=LEGITEXT000006069229&dateTexte=19581231 but even then it will probably not fit. If you want your URLs to break everywhere load \useoackage{xurl} (after loading biblatex). – moewe Jul 7 at 19:44
• You may also want to consider writing author = {{Gouvernement Français}}, instead of author = "Gouvernement Français",. Without the curly braces, BibTeX/Biber will try to parse "Gouvernement Français" as the name of a person, i.e. it will try to split that into family and given name, which may lead to unexpected results. – moewe Jul 8 at 6:39