We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code renders differently in the browser whether the indent option is enabled or not:
indent
<p> <span class="some padding ............................">some text here . and here </span> </p>
A line break is inserted between the two txt nodes. The extra breaks inside the p elements also change what C-A, C-C copies into the clipboard.
txt
p
C-A, C-C
open Tyxml.Html let content = html (head (title (txt "example")) []) (body [ p [ span ~a:[ a_class [ "some padding ............................" ] ] [ txt "some text here"; txt ". and here" ]; ]; ]) let () = Format.printf "%a" (pp ~indent:true ()) content
The text was updated successfully, but these errors were encountered:
?id:
id:
~indent:true
No branches or pull requests
The following code renders differently in the browser whether the
indent
option is enabled or not:A line break is inserted between the two
txt
nodes. The extra breaks inside thep
elements also change whatC-A, C-C
copies into the clipboard.The text was updated successfully, but these errors were encountered: