Home > Contributions > OpenOffice.org

Copy Paste from an html page with soup tags

A wrong html page, but which could be correctly displayed, was not well pasted in Writer.

This is particularly disturbing because of the different behavior between Writer html engine and the Firefox one : Gecko. Gecko display the value contained between 2 unknowns tags. For instance :

  • "<unknown>sample</unknown>" => "sample"

But OpenOffice, in Writer only, ignores it totally. For instance

  • "<unknown>sample</unknown>" => ""

The attached fix unifies the behaviors between those 2 engines. It was approved for Go-Oo, the Novell Community version of OOo, see the first link for the commit.

 

Link :
This contribution has been submitted on 2007-12-17 by Admin and its has been approved on 2007-12-18 .
This patch has been made for version 2.4