diff options
author | Andres Rey <[email protected]> | 2017-11-07 19:50:15 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2017-11-07 19:50:15 +0000 |
commit | d31c0c271ff4b8bf64549b03398595f29fe2f9b5 (patch) | |
tree | 08dd1e9f170386cdbb805c52e76f9ff47d6b1a6e /src/HTMLParser.php | |
parent | a4202a5cd791212bb649e42c9396bc6a52ff3178 (diff) |
Add article text direction to response
Diffstat (limited to 'src/HTMLParser.php')
-rw-r--r-- | src/HTMLParser.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/HTMLParser.php b/src/HTMLParser.php index a6d5625..f1c3d3e 100644 --- a/src/HTMLParser.php +++ b/src/HTMLParser.php @@ -184,6 +184,7 @@ class HTMLParser 'image' => isset($this->metadata['image']) ? $this->metadata['image'] : null, 'article' => $result, 'html' => $result->C14N(), + 'dir' => isset($this->metadata['articleDir']) ? $this->metadata['articleDir'] : null, ]; } |