Commit 491b0b59 authored by Dries's avatar Dries
Browse files

- Bugfix to make parsing http://www.veganporn.com/syndicate-j.pl work.
  Patch by Trent.
parent 831ee213
......@@ -194,6 +194,7 @@ function import_refresh($feed) {
** Remove unsupported tags or sub-elements:
*/
$data = ereg_replace("<textinput([^s].*)/>", "", $data);
$data = ereg_replace("<textinput([^s].*)</textinput>", "", $data);
$data = ereg_replace("<image([^s].*)</image>", "", $data);
......
......@@ -194,6 +194,7 @@ function import_refresh($feed) {
** Remove unsupported tags or sub-elements:
*/
$data = ereg_replace("<textinput([^s].*)/>", "", $data);
$data = ereg_replace("<textinput([^s].*)</textinput>", "", $data);
$data = ereg_replace("<image([^s].*)</image>", "", $data);
......
......@@ -194,6 +194,7 @@ function import_refresh($feed) {
** Remove unsupported tags or sub-elements:
*/
$data = ereg_replace("<textinput([^s].*)/>", "", $data);
$data = ereg_replace("<textinput([^s].*)</textinput>", "", $data);
$data = ereg_replace("<image([^s].*)</image>", "", $data);
......
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