Re: [elm-discuss] Re: Elm as templating engine

2017-09-05 Thread Birowsky
Yap, that's the route I took. If you don't hear back from me, it means Google has not complained :} -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [elm-discuss] Re: Elm as templating engine

2017-09-04 Thread Peter Damoc
On Sun, Sep 3, 2017 at 11:07 AM, Birowsky wrote: > Unfortunately, it just adds `=""`. You can't see it in the dev tools > because the browser strips it away. > Fortunately that is OK as it is implicitly equivalent to what you want:

[elm-discuss] Re: Elm as templating engine

2017-09-04 Thread 'Rupert Smith' via Elm Discuss
On Sunday, September 3, 2017 at 12:18:26 AM UTC+1, Birowsky wrote: > > Trying to use elm as a templating engine for AMP pages. But they have > specific requirements where I need to specify attributes without values. Is > that possible with some elm construct? > >

[elm-discuss] Re: Elm as templating engine

2017-09-03 Thread Birowsky
Unfortunately, it just adds `=""`. You can't see it in the dev tools because the browser strips it away. Now, while the validation passes with empty string as a value, what frightens me, is that the AMP docs state that the online validator is not a complete validation and some errors would

[elm-discuss] Re: Elm as templating engine

2017-09-02 Thread Gusztáv Szikszai
You need to use `attribute` with an empty string as value. https://ellie-app.com/4ckwSKX7YKGa1/0 On Sunday, September 3, 2017 at 1:18:26 AM UTC+2, Birowsky wrote: > > Trying to use elm as a templating engine for AMP pages. But they have > specific requirements where I need to specify attributes