Skip to content

Commit

Permalink
Page: Document that data-attribute data-url stores a non-URI-encoded …
Browse files Browse the repository at this point in the history
…value

Closes gh-313
Re jquery-archive/jquery-mobile#1383

(cherry picked from commit d5881e2)
  • Loading branch information
Gabriel Schulhof committed Dec 30, 2014
1 parent 68420df commit 582f8c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/data-attribute.html
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

0 comments on commit 582f8c8

Please sign in to comment.