meteor-reacterminator icon indicating copy to clipboard operation
meteor-reacterminator copied to clipboard

A webflow export with apostrophes as html property values will break stanza update

Open JohnRodney opened this issue 8 years ago • 5 comments

<input autofocus="autofocus" class="input-field w-input" data-name="What&#39;s your address?" id="What-s-your-address" maxlength="256" name="What-s-your-address" placeholder="What&#39;s your address?" required="required" type="text">

In the case of a designer setting up a placeholder with a apostrophe the output webflow ends up using an html entity value which in turn breaks reacterminator from doing an update.

I'm not sure what the best solution here is but it would seem it would be to ask the designer not to use apostrophe's but in the case of trying to provide correct grammar for a input placeholder you would want this. Any ideas @Chun-Yang?

JohnRodney avatar Sep 20 '16 21:09 JohnRodney

This is related to the the html parser I think. For now let's not use html entities there.

Chun-Yang avatar Sep 20 '16 21:09 Chun-Yang

@Chun-Yang so then the expected solution is for a third party aka a developer to convert these by hand before doing an update?

JohnRodney avatar Sep 21 '16 00:09 JohnRodney

Also I can move this issue to reacterminator if you would like I just put it here since it applies to how webflow does an export.

JohnRodney avatar Sep 21 '16 00:09 JohnRodney

That would be great 👍

Chun-Yang avatar Sep 22 '16 04:09 Chun-Yang

Reacterminator should fix it eventually. Ideally it should only be an option in the parser in reacterminator

Chun-Yang avatar Sep 22 '16 04:09 Chun-Yang