You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by wa...@apache.org on 2021/06/05 19:50:19 UTC
[olingo-site] 15/15: take unsafe fixups out of asfgenid plugin
This is an automated email from the ASF dual-hosted git repository.
wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/olingo-site.git
commit 5dfdaa2cde7687e3dc615371afb30b3147d702b1
Author: Dave Fisher <da...@davefisher.tech>
AuthorDate: Sat Jun 5 12:44:18 2021 -0700
take unsafe fixups out of asfgenid plugin
---
content/doc/javascript/index.md | 2 +-
theme/plugins/asfgenid.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/doc/javascript/index.md b/content/doc/javascript/index.md
index 4fc87bf..e6a8f52 100644
--- a/content/doc/javascript/index.md
+++ b/content/doc/javascript/index.md
@@ -7,7 +7,7 @@ This library "odatajs-4.0.0.min.js" supports only the OData V4 protocol.
For using the OData protocols V1-V3 please refer to the [datajs library](http://datajs.codeplex.com/)
-The odatajs library can be included in any html page with the script tag (for example) `<script type="text/javascript" src="./sources/odatajs-4.0.0.min.js"></script>`
+The odatajs library can be included in any html page with the script tag (for example) `<script type="text/javascript" src="./sources/odatajs-4.0.0.min.js"></script>`
and its features can be used through the `odatajs` namespace (or `window.odatajs`). The odatajs library can be used together with the datajs library which uses the `window.OData` namespace.
For API documentation please see [ODatajs API documentation](/doc/javascript/apidoc/index.html)
diff --git a/theme/plugins/asfgenid.py b/theme/plugins/asfgenid.py
index f0ff875..c00869a 100644
--- a/theme/plugins/asfgenid.py
+++ b/theme/plugins/asfgenid.py
@@ -293,7 +293,7 @@ def generate_id(content):
permalinks = set()
# step 1 - fixup html that cmark marks unsafe - move to later?
- fixup_content(content)
+ # fixup_content(content)
# step 2 - prepare for genid processes
# parse html content into BeautifulSoup4