rsnext/test/integration/amphtml/pages/special-chars.js
JJ Kasper 409f20a9ca
Fix AMP HTML content emit (#9468)
* Add failing test

* Escape dollar signs in AMP HTML

* Update to not use replace for updating AMP_RENDER_TARGET
2019-11-25 14:05:52 -06:00

7 lines
183 B
JavaScript

export const config = { amp: true }
export default () => (
<div data-amp-bind-text="fields_maxPrice_live < 801 ? '$' + round(fields_maxPrice_live) : '$800+'">
$800+
</div>
)