HTML output not matching Quick Start example (rendering literally)
I installed Racket 7.3 and Pollen (2.0.2142.1197). When I use the code from the Quick Start to test HTML generation:
#lang pollen <body style="margin: 5em; border:1px solid black"> 5em is the inset. </body>
The output doesn't match the description, but is instead wrapped in code that displays it literally:
<!DOCTYPE html><html><head><title>Pollen</title><meta charset="UTF-8"/><link rel="stylesheet" type="text/css" href="/poldash.css"/></head><body><tt><body style="margin: 5em; border:1px solid black"> 5em is the inset. </body></tt><div id="pollen-logo"></div></body></html>
What is going on?
What is the filename?
(In this case, the extension needs to be
.pm, because the source contains raw HTML)
The filename is
margin.html.pp -- I am viewing the file using the
out link on the dashboard and what I shared above is when I use View Source.
out link shows you the literal output of the file, rendered as plain text. If you want to see the output of the file rendered in the browser as HTML, click on the link in the left column called
Sorry, I was being particularly dense!
Deleting a branch is permanent. It CANNOT be undone. Continue?