Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

white-space: pre-wrap; works depending on tag position #2025

Open
galech opened this issue Dec 22, 2023 · 2 comments
Open

white-space: pre-wrap; works depending on tag position #2025

galech opened this issue Dec 22, 2023 · 2 comments
Labels
bug Existing features not working as expected

Comments

@galech
Copy link

galech commented Dec 22, 2023

Hi everyone,

depending on space before or after tag (</b> domicilié, </b>domicilié) white-space: pre-wrap can fail

image

<style style="text/css">


@page {
	size: A4 ;
	margin-left: 18px;
	margin-right: 18px;
	margin-bottom: 100px;
	margin-top: 50px;

}

pre {
	white-space: pre-wrap;
	border: 2px solid black;
	background: inherit;
	font-family: inherit;
	font-size: inherit;
}

</style>


<body>
	<div style="font-size:13px">
		<div>
			<pre>Cher Confrère,<br><br>Je vous informe de la prise en charge en HAD de <b>hhhhhhh 11111111 (né(e) CLAIRE), né le 2 déc. 2022, </b>domicilié fsdfsdfsdfsdfds </pre>
			<pre>Cher Confrère,<br><br>Je vous informe de la prise en charge en HAD de <b>hhhhhhh 11111111 (né(e) CLAIRE), né le 2 déc. 2022,</b> domicilié fsdfsdfsdfsdfds </pre>
		</div>
	</div>
</body>

Thank you for your great job

@liZe liZe added the bug Existing features not working as expected label Jan 26, 2024
@liZe
Copy link
Member

liZe commented Jan 26, 2024

Thanks for the bug report.

That’s strange, we have so many tests to check that this couldn’t happen! We probably need one more…

@liZe
Copy link
Member

liZe commented Sep 27, 2024

Maybe related to #1614.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing features not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants