newsdev / driveshaft

Google Drive → JSON → S3
https://newsdev.github.io/driveshaft/
Other
74 stars 8 forks source link

Links in ArchieML sometimes handled incorrectly #28

Closed abstrctn closed 8 years ago

abstrctn commented 8 years ago

In the following google doc, if the last TKTKTK » is a link, the link is malformed in the output

[items]

use: y
kicker: TK
text: TK  |  TKTK  |  TKTKTK »
items: [
  {
    "use": "y",
    "kicker": "TK",
    "text": "TK  |  TKTK  |  <a href="http://www.nytimes.com">"
}
kevinschaul commented 8 years ago

I've experienced the same issue. Links in single-line values did not come through properly, but links in multi-line values did.

This PR fixes it for me: https://github.com/newsdev/driveshaft/pull/29