Opened 9 years ago

Closed 9 years ago

#5008 closed Bug (fixed)

html entitiy not correctly rendered

Reported by: jfc Owned by: jordan
Priority: Normal Milestone: 2.70
Component: Web Client Version: 2.61
Severity: Normal Keywords:


The html entity ​ for zero‐width space is not correctly rendered.

The reason is probably the same as in #4987.

Fix attached.

Attachments (1)

0001-replace-html-entity-with-unicode-character-ZERO-WIDT.patch (872 bytes) - added by jfc 9 years ago.
Replace html entity with unicode

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by jfc

Replace html entity with unicode

comment:1 Changed 9 years ago by livings124

  • Version changed from 2.61+ to 2.61

comment:2 Changed 9 years ago by MechMK1

This also appears on the iPhone interface. The Torrent's file list has about 4000 items, containing all sorte of unicode characters (symbols, kanji, kana, brackets, etc.)

comment:3 Changed 9 years ago by Bugmenot

This will end up being stripped just like commit #13421 and still be "buggy".

comment:4 Changed 9 years ago by Bugmenot

HAs anyone actually noticed that once the patch is processed by the system it IS GETTING MANGLED??

click on

You see that line that was patched:

name = name.replace(/([\/_\.])/g, "$1​");

displays and added â mangling the correct character display.

However the patch source does not show this, which means once it has been committed or viewed in trac it will be mangled.

Someone has to have noticed this boobed behaviour. and see if this can be fixed.

The only way i found is to edit the files locally and fix it.

comment:5 Changed 9 years ago by jfc

This means your editor can display a zero width white space :)

If you set another encoding, you see some scrambled characters. VIM also shows the unicode sequence.

comment:6 Changed 9 years ago by jordan

  • Owner set to jordan
  • Status changed from new to assigned

comment:7 Changed 9 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed

Thanks jfc!

Note: See TracTickets for help on using tickets.