Skip to content

diffのシンタックスハイライトで、余分な改行が1行入る #130

Closed

Description

@arisa-fukuzaki

起こっている現象

  • diffシンタックスハイライトを使用した際に、余分な改行が1行上に入る

現象が起こった時の記法

// diff jsx:src/App.js で指定

import React, { useState } from 'react';
import './App.css';

function App() {
  const [count, setCount] = useState(0);

  return (
    <div className="App">
-      HEY👋
+      <h1>Counter App 🧮</h1>
+      <button>
+        +
+      </button>
+      <h3>{count} times clicked!🖱</h3>
    </div>
  );
}

export default App;

反映結果

img

試したこと

  • +と-の記述入れ替え
  • 前後の余白チェック

Activity

  1. catnose99 commented on Mar 11, 2021

    @catnose99
    Contributor

    ご報告ありがとうございます。確認します

  2. arisa-fukuzaki commented on Mar 11, 2021

    @arisa-fukuzaki
    Author

    @catnose99 さん、迅速にお返事くださり、ありがとうございます..!
    非常にお世話になっているサービスですので、これからも開発応援しています!
    不足している情報がありましたらお知らせください。

  3. catnose99 commented on Mar 16, 2021

    @catnose99
    Contributor

    @schabibi1

    こちら対応しました。ご報告ありがとうございました。

  4. arisa-fukuzaki commented on Mar 16, 2021

    @arisa-fukuzaki
    Author

    @catnose99
    迅速にご対応くださり、ありがとうございます!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug不具合の修正

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions