Exported content is processed through various Drupal filters, which is undesirable, since we want the raw content.

To reproduce:

Save a book page with input format 'Filtered HTML', and make sure that the line break filter is enabled for the Filtered HTML format.

Expected output: the exported node should contain the contents of the node as typed in by the author.

Actual output: the exported node contains extra <br/> elements inserted by the line break filter.

Comments

puregin’s picture

Status: Active » Fixed

Fixed in revision 1.4 - don't invoke node_invoke_api() on content (we're not viewing it, just grabbing the raw node contents)

Anonymous’s picture

Status: Fixed » Closed (fixed)