Skip to content

Commit 54df381

Browse files
Merge pull request #514 from zenn-dev/canary
release 0.1.158
2 parents 3805383 + d5615d2 commit 54df381

File tree

8 files changed

+15
-6
lines changed

8 files changed

+15
-6
lines changed

Diff for: lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"packages": [
33
"packages/*"
44
],
5-
"version": "0.1.157",
5+
"version": "0.1.158-alpha.0",
66
"npmClient": "pnpm"
77
}

Diff for: packages/zenn-cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zenn-cli",
3-
"version": "0.1.157",
3+
"version": "0.1.158-alpha.0",
44
"description": "Preview Zenn content locally.",
55
"repository": {
66
"type": "git",

Diff for: packages/zenn-content-css/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zenn-content-css",
3-
"version": "0.1.157",
3+
"version": "0.1.158-alpha.0",
44
"license": "MIT",
55
"description": "Zenn flavor content style.",
66
"repository": {

Diff for: packages/zenn-embed-elements/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zenn-embed-elements",
3-
"version": "0.1.157",
3+
"version": "0.1.158-alpha.0",
44
"license": "MIT",
55
"description": "Web components for embedded contents.",
66
"repository": {

Diff for: packages/zenn-markdown-html/__tests__/custom-syntax/embed/card.test.ts

+8
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ describe('LinkCard埋め込み要素のテスト', () => {
2828
expect(html).toContain('URLが不正です');
2929
});
3030
});
31+
32+
describe('メールアドレス', () => {
33+
test('メールアドレスのまま出力する', () => {
34+
const html = markdownToHtml(`[email protected]`);
35+
expect(html).toContain('[email protected]');
36+
expect(html).not.toContain('URLが不正です');
37+
});
38+
});
3139
});
3240

3341
describe('embedOriginを設定している場合', () => {

Diff for: packages/zenn-markdown-html/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zenn-markdown-html",
3-
"version": "0.1.157",
3+
"version": "0.1.158-alpha.0",
44
"license": "MIT",
55
"description": "Convert markdown to zenn flavor html.",
66
"main": "lib/index.js",

Diff for: packages/zenn-markdown-html/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const markdownToHtml = (text: string, options?: MarkdownOptions): string => {
3838
const md = markdownIt({ breaks: true, linkify: true });
3939

4040
md.linkify.set({ fuzzyLink: false });
41+
md.linkify.set({ fuzzyEmail: false }); // refs: https://github.com/markdown-it/linkify-it
4142

4243
md.use(mdBr)
4344
.use(mdKatex)

Diff for: packages/zenn-model/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zenn-model",
3-
"version": "0.1.157",
3+
"version": "0.1.158-alpha.0",
44
"license": "MIT",
55
"description": "Model utils for Zenn contents",
66
"main": "lib/index.js",

0 commit comments

Comments
 (0)