Am using mustache
to populate data on an AMP HTML page.
Here is the target HTML on Google's ampb.in
: https://ampb.in/#z4sIphWxKIOfZtfqWTpm
The buttons open a related structure, but are null here for simplicity.
How to make the second and subsequent <span>
elements work inline as part of a <p>
.
Have tried .keep-together {display: inline-block; float: left}
but that does not work.
If I remove the mustache template
the <span>
and <button>
work as expected.
Since the application depends on using mustache
, how to make the inline elements work as they do without mustache
?
` tags, so shouldn't the paragraphs be inline?
– Paul Aug 15 '18 at 13:42` and (now) 2 ``s nested in the single `
– Jay Gray Aug 15 '18 at 13:47`. Without `mustache` they work inline as expected. With `mustache` the second is forced to a new line. I'm trying to eliminate whatever is forcing the second to the new line.