Skip to content

Page: Document that data-attribute data-url stores a non-URI-encoded value #313

New issue

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

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/data-attribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ <h2><a href="../page/">Page</a></h2>
<td>string - Title used when page is shown</td>
</tr>
<tr>
<th>data-url</th>
<td>url - Value for updating the URL, instead of the url used to request the page</td>
<th id="page-data-url">data-url</th>
<td>url - Value for updating the URL, instead of the url used to request the page. The value of this attribute should not be URI-encoded. If your path or filename contains apostrophes or quotation marks, use entity encoding in the value, rather than URL encoding. For example, <code style="white-space: nowrap;">data-url="/path/to/<b>&amp;quot;</b>Devil<b>&amp;apos;</b>s Advocate<b>&amp;quot;</b>.html"</code></td>
</tr>
</table>
<p></p>
Expand Down