Edit Book: Wrong indent in beautify
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Try to beautify the next text (real example from a real world book):
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://
<head>
<title>
<style title="
@page {
padding: 0;
margin: 0;
}
body {
text-align: center;
padding: 0;
margin: 0;
}
div {
margin: 0;
padding: 0;
}
</style>
<!--<link rel="stylesheet" type="applicati
</head>
<body style="
<div class="body">
<img alt="cover" src="images/
</div>
</body>
</html>
Look at the <div class="body"> and its not-indented </div> at the end of the file. !?!?
Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.
status fixreleased