Skip to content

Commit 26ed2fb

Browse files
author
Ajit Kumar
committed
v1.10.1
1 parent 99d1dab commit 26ed2fb

File tree

5 files changed

+19
-17
lines changed

5 files changed

+19
-17
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
- Fixed status and navigation text color not visible in light theme.
1111
- [x] **Plugin** | 944
1212
- Fixed updates for plugin not showing up.
13+
- [x] **Markdown** | 945
14+
- Fixed markdown preview not working properly.
1315

1416
- Fixes
1517
- [x] **Text selection** | 937

config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8' ?>
2-
<widget id="com.foxdebug.acode" android-versionCode="944" version="1.10.0"
2+
<widget id="com.foxdebug.acode" android-versionCode="945" version="1.10.0"
33
xmlns="http://www.w3.org/ns/widgets"
44
xmlns:android="http://schemas.android.com/apk/res/android"
55
xmlns:cdv="http://cordova.apache.org/ns/1.0">

src/lang/ja-jp.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -313,23 +313,23 @@
313313
"refund": "払い戻し",
314314
"product not available": "利用不可の製品",
315315
"no-product-info": "現在、この製品はお住まいの国でご利用できません。後でもう一度お試しください。",
316-
"Close": "閉じる",
317-
"Explore": "エクスプローラー",
318-
"Key bindings updated": "キーバインディングが更新されました",
319-
"Search in files": "ファイル内を検索",
320-
"Exclude files": "ファイルを除外",
321-
"Include files": "ファイルを含める",
322-
"Search result": "{matches} 個の結果が {files} 個のファイルでみつかりました。",
323-
"Invalid regex": "正規表現が無効です: {message}",
324-
"Bottom": "",
325-
"Save all": "すべて保存",
326-
"Close all": "すべて閉じる",
316+
"close": "閉じる",
317+
"explore": "エクスプローラー",
318+
"key bindings updated": "キーバインディングが更新されました",
319+
"search in files": "ファイル内を検索",
320+
"exclude files": "ファイルを除外",
321+
"include files": "ファイルを含める",
322+
"search result": "{matches} 個の結果が {files} 個のファイルでみつかりました。",
323+
"invalid regex": "正規表現が無効です: {message}",
324+
"bottom": "",
325+
"save all": "すべて保存",
326+
"close all": "すべて閉じる",
327327
"unsaved files warning": "保存されていないファイルがあります。「OK」をクリックして処理を選択するか「キャンセル」をクリックして戻ります。",
328328
"save all warning": "すべてのファイルを保存して閉じてもよろしいですか?この操作は取り消せません。",
329329
"save all changes warning": "すべてのファイルを保存してもよろしいですか?",
330330
"close all warning": "すべてのファイルを閉じてもよろしいですか? 保存されていない変更は失われ、この操作は取り消せません。",
331-
"Refresh": "更新",
332-
"Shortcut buttons": "ショートカットボタン",
331+
"refresh": "更新",
332+
"shortcut buttons": "ショートカットボタン",
333333
"no result": "結果なし",
334334
"searching...": "検索中...",
335335
"quicktools:ctrl-key": "Ctrl/Command キー",
@@ -374,7 +374,7 @@
374374
"plugin min version": "'{name}' は Acode - {v-code} 以降でのみ使用できます。こちらをクリックして更新してください。",
375375
"color preview": "カラープレビュー",
376376
"confirm": "確認",
377-
"list files": "{name} 内のすべてのファイルを一覧表示しますか?ファイル数が多すぎるとアプリがクラッシュする可能性があります。"
377+
"list files": "{name} 内のすべてのファイルを一覧表示しますか?ファイル数が多すぎるとアプリがクラッシュする可能性があります。",
378378
"problems": "問題",
379379
"show side buttons": "サイドボタンを表示",
380380
"verified publisher": "検証済み発行者"

src/lib/run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ async function run(
274274

275275
case '.md':
276276
if (file) {
277-
const html = markdownIt().render(file.session.getValue());
277+
const html = markdownIt({ html: true }).render(file.session.getValue());
278278
const doc = mustache.render($_markdown, {
279279
html,
280280
filename,

src/pages/plugin/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export default async function PluginInclude(id, installed, onInstall, onUninstal
261261
const pluginSettings = settings.uiSettings[`plugin-${plugin.id}`];
262262
$page.body = view({
263263
...plugin,
264-
body: markdownIt().render(plugin.description),
264+
body: markdownIt({ html: true, xhtmlOut: true }).render(plugin.description),
265265
purchased,
266266
installed,
267267
update,

0 commit comments

Comments
 (0)