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

UTF-8 non breaking space error in the HTML mode #253

Closed
michal-h21 opened this issue May 12, 2020 · 0 comments
Closed

UTF-8 non breaking space error in the HTML mode #253

michal-h21 opened this issue May 12, 2020 · 0 comments
Assignees
Labels

Comments

@michal-h21
Copy link

@michal-h21 michal-h21 commented May 12, 2020

The following HTML code contains non-breaking space in Figure 1:

<!DOCTYPE html> 
<html lang='en-US' xml:lang='en-US'> 
<head>
<meta charset='utf-8' /> 
</head><body>
<figcaption class='caption'>Figure&#xa0;1:</figcaption><!-- tex4ht:label?: x1-2r  -->
</body> 
</html>

The compilation with sp html filename.html fails with the following message:

 Error: [page 1] [string "csshtmltree = { typ = 'csshtmltree',..."]:11: invalid escape sequence near '"Figure
@pgundlach pgundlach self-assigned this May 12, 2020
@pgundlach pgundlach added the Bug label May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants