Bug 65604

Summary: khtml displays LRM and RLM as glyphs
Product: [Applications] konqueror Reporter: Ilya Konstantinov <kde-bug-report>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ilya Konstantinov 2003-10-06 16:30:16 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

kthml displays the LRM and RLM Unicode control characters (produced by the HTML's &lrm; and &rlm;) as actual glyphs from the current font, rather than treating them as control characters and not displaying them.

Note: When fixing this bug, make sure that while those characters aren't displayed (zero-width, in Unicode terms), they are present in the text and get copied along with it.
Comment 1 Stephan Kulow 2003-10-27 14:27:30 UTC
can you please provide a small test case that can be used for testing?
Comment 2 Ilya Konstantinov 2003-10-27 20:13:28 UTC
<html>
<body>
<p dir="RTL">
foo&rlm;bar
</p>
</body>
</html>

khtml does the bidi work right (the "bar" is to the left of "foo"), but it renders  the RLM control character. Compare results with Mozilla.
Comment 3 Stephan Kulow 2003-11-02 11:29:40 UTC

*** This bug has been marked as a duplicate of 46210 ***