[Tickets #14770] Re: HTML export does not encode special chars (umlauts)

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Jan 23 15:13:43 UTC 2018


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14770
------------------------------------------------------------------------------
  Ticket           | 14770
  Aktualisiert Von | birnbacs at gmail.com
  Zusammenfassung  | HTML export does not encode special chars (umlauts)
  Warteschlange    | Wicked
  Version          | Git master
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
+Neuer Anhang     | Umlaut_HTML_entities.zip
------------------------------------------------------------------------------


birnbacs at gmail.com (2018-01-23 15:13) hat geschrieben:

I realised that all HTML entities are affected, so I changed the  
render function.
Not sure how to create a seach string that catches all HTML entities, though.


Update: using PHP function htmlentities() for replacement now. Please  
ignore previous comment.


Again, the following line goes into wicked/lib/Page.php, around line 525:

               $this->_proc->insertRule('Umlaut');

And the enclosed files:

Render_Xhtml_Umlaut.php =(goes to)=>  
wicked/lib/Text_Wiki/Render/Xhtml/Umlaut.php
Parse_Default_Umlaut.php =(goes to)=>  
wicked/lib/Text_Wiki/Parse/Default/Umlaut.php



birnbacs at gmail.com (2018-01-23 15:13) hat hochgeladen:  
Umlaut_HTML_entities.zip

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=Umlaut_HTML_entities.zip&ticket=14770&fn=%2FUmlaut_HTML_entities.zip





More information about the bugs mailing list