Repro steps:
- create new buffer
- M-x impatient-mode
- Insert this snippet:
(insert "\n->" (propertize "hello" 'display '(left-fringe hideshowvis-hideable-marker hideshowvis-hidable-face)) "<-")
- M-x eval-last-sexp (or C-x C-e)
Now I see this in the browser:
And htmlize-region produces:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<!-- Created by htmlize-1.57 in css mode. -->
<html>
<head>
<title>untitled</title>
<style type="text/css">
<!--
body {
color: #000000;
background-color: #ffffff;
}
.hl-line {
/* hl-line */
background-color: #ededed;
}
.region {
/* region */
background-color: #D0D9E2;
}
a {
color: inherit;
background-color: inherit;
font: inherit;
text-decoration: inherit;
}
a:hover {
text-decoration: underline;
}
-->
</style>
</head>
<body>
<pre>
<span class="region"><span class="hl-line">->hello<-</span></span></pre>
</body>
</html>
These cases work fine so it might be just a missing case in the display handling:
(insert "\n->"
(propertize "hello" 'display "this is fine, though")
"<-")
(insert "\n->"
(propertize "hello" 'display "")
"<-")
Happens when using hideshowvis-minor-mode and impatient-mode together see bug
Repro steps:
(insert "\n->" (propertize "hello" 'display '(left-fringe hideshowvis-hideable-marker hideshowvis-hidable-face)) "<-")Now I see this in the browser:
And htmlize-region produces:
These cases work fine so it might be just a missing case in the display handling:
Happens when using hideshowvis-minor-mode and impatient-mode together see bug