Skip to content

Commit

Permalink
Merge pull request #107 from KevinBatdorf/release/1.11.3
Browse files Browse the repository at this point in the history
Release 1.11.3
  • Loading branch information
KevinBatdorf committed Jan 8, 2023
2 parents a392f92 + 2eac529 commit 45a77ab
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion code-block-pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Description: Code highlighting powered by the VS Code engine
* Requires at least: 6.0
* Requires PHP: 7.0
* Version: 1.11.2
* Version: 1.11.3
* Author: Kevin Batdorf
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "code-block-pro",
"version": "0.1.0",
"description": "My amazing block",
"description": "Code Block Pro - Beautiful syntax highlighting",
"author": "Kevin Batdorf",
"license": "GPL-2.0-or-later",
"main": "build/index.js",
Expand Down
5 changes: 3 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: kbat82
Tags: block, code, syntax, snippet, highlighter, JavaScript, php, vs code
Tested up to: 6.1
Stable tag: 1.11.2
Stable tag: 1.11.3
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -238,7 +238,8 @@ Themes are rendered inside the editor as you type or make changes, so the code b

== Changelog ==

- Fix: encode and deocde html entities
= 1.11.3 - 2023-01-08 =
- Fix: Encode and decode html entities to prevent script tag bug

= 1.11.2 - 2023-01-04 =
- Fix: Update shiki renderer wasm loader to use ArrayBuffer
Expand Down
4 changes: 2 additions & 2 deletions src/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "kevinbatdorf/code-block-pro",
"version": "1.2.0",
"version": "1.11.3",
"title": "Code Block Pro - Beautiful syntax highlighting",
"category": "common",
"description": "Code highlighting powered by the VS Code engine. No overhead.",
Expand All @@ -29,7 +29,7 @@
"startingLineNumber": { "type": "number", "default": 1 },
"lineNumbersWidth": { "type": "number" },
"enableHighlighting": { "type": "boolean" },
"lineHighlights": { "type":"string" },
"lineHighlights": { "type": "string" },
"lineHighlightColor": { "type": "string" },
"enableBlurring": { "type": "boolean" },
"lineBlurs": { "type": "string" },
Expand Down
1 change: 0 additions & 1 deletion src/hooks/useTheme.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useEffect, useState } from '@wordpress/element';
import { applyFilters } from '@wordpress/hooks';
import { __ } from '@wordpress/i18n';
import { getHighlighter, Lang, setCDN, Theme, setWasm } from 'shiki';
import useSWRImmutable from 'swr/immutable';

Expand Down

0 comments on commit 45a77ab

Please sign in to comment.