Commit 61f8070a authored by Nigel McNie's avatar Nigel McNie
Browse files

Implement importing of content with type="html".

parent c717d637
......@@ -488,7 +488,7 @@ class PluginImportLeap extends PluginImport {
$starttaglength = strlen('<content type="xhtml">');
$endtaglength = strlen('</content>');
return substr((string)$entry->content->asXML(), $starttaglength, -$endtaglength);
// TODO: type="html"
case 'html':
case 'text':
return (string)$entry->content;
default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment