fml has HTML <p> in response #1262

Open
yuhui opened this Issue Dec 21, 2013 · 1 comment

Comments

Projects
None yet
2 participants

yuhui commented Dec 21, 2013

The fml command returns a response that looks like this:

<p>...</p

This is because the FML feed's "content" element contains the <p>...</p> HTML tags.

An irritating problem is that the response ends with the incomplete </p closing tag.

To do:
parse out the <p> and </p> tags from the response.

Owner

technicalpickles commented Dec 26, 2013

Relevant code: https://github.com/github/hubot-scripts/blob/master/src/scripts/fml.coffee#L26-L28

We're slowly moving scripst out of this repo to their own repo & npm package. If you are interested in maintaining this, would be super helpful for us. See #1113 for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment