Skip to content

Commit

Permalink
Update with metadata and preferred syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbeck committed May 30, 2024
1 parent 4defaf4 commit add208b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 72 deletions.
13 changes: 9 additions & 4 deletions docs/guides/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
----
-layout: default
-title: Troubleshooting
----

# Troubleshooting

This guide covers common issues that you may run into as you use Derby. Feel free to contribute your own troubleshooting experience! :)
Expand All @@ -14,7 +19,7 @@ Attaching bindings failed, because HTML structure does not match client renderin

When the page is rendered server side and is sent down to the client, Derby it will ensure that both HTML structures are exactly the same before attaching. If they don't match that is usually because the browser's parser attempts to gracefully handle invalid HTML that you may have introduced by mistake. For example, the following syntax is valid XML syntax but invalid HTML:

```html
```jinja
<p>
<div>
</div>
Expand All @@ -23,7 +28,7 @@ When the page is rendered server side and is sent down to the client, Derby it w

Browsers will effectively turn this into:

```html
```jinja
<p></p>
<div></div>
```
Expand All @@ -36,15 +41,15 @@ source: https://www.w3.org/TR/html401/struct/text.html#edef-P

The same goes for HTML tables where:

```html
```jinja
<table>
<td></td>
</table>
```

... may be rendered by a browser as:

```html
```jinja
<table>
<tbody>
<tr>
Expand Down
68 changes: 0 additions & 68 deletions docs/troubleshooting.md

This file was deleted.

0 comments on commit add208b

Please sign in to comment.