Replies: 1 comment 1 reply
-
|
The $articleHtml = getSimpleHTMLDOMCached(
$item['uri'],
86400, // cache TTL
[], // headers
[], // opts
true, // lowercase
true, // forceTagsClosed
DEFAULT_TARGET_CHARSET,
false // stripRN = false to preserve newlines
); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am struggling with a bridge where I can't get
$articleHtml->find()to keep the newlines in the text.Consider following example:
This will unfortunately be returned by
find()as a single line. Am I missing something?Beta Was this translation helpful? Give feedback.
All reactions