@salesforcedevs/docs-components 0.8.4 → 0.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "0.8.4",
3
+ "version": "0.11.3",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -14,5 +14,5 @@
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },
17
- "gitHead": "a181e7459fdf5411a42f3769908d24aff4675b2d"
17
+ "gitHead": "267b723dd45c5d044cd33501c7b7fc7c17eadd40"
18
18
  }
@@ -7,8 +7,6 @@ import ContentMedia from "doc/contentMedia";
7
7
  import Button from "dx/button";
8
8
 
9
9
  const LANGUAGE_MAP: { [key: string]: string } = {
10
- xml: "plain",
11
- html: "plain",
12
10
  js: "javascript"
13
11
  };
14
12
 
@@ -106,7 +104,8 @@ export default class Content extends LightningElement {
106
104
  language: LANGUAGE_MAP[language] || language,
107
105
  theme: this.codeBlockTheme,
108
106
  title: "", // Default no title.
109
- variant: this.codeBlockType
107
+ variant: this.codeBlockType,
108
+ isEncoded: true
110
109
  });
111
110
  // eslint-disable-next-line no-use-before-define
112
111
  codeBlockEl.innerHTML = "";