Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Preserve "Line Breaks" #14

Open
barbedknot opened this issue Jun 19, 2021 · 1 comment
Open

[Feature Request] Preserve "Line Breaks" #14

barbedknot opened this issue Jun 19, 2021 · 1 comment

Comments

@barbedknot
Copy link

barbedknot commented Jun 19, 2021

    {
      "conversation_id": {
        "id": "[censored]"
      },
      "sender_id": {
        "gaia_id": "[censored]",
        "chat_id": "[censored]"
      },
      "timestamp": "[censored]",
      "self_event_state": {
        "user_id": {
          "gaia_id": "[censored]",
          "chat_id": "[censored]"
        },
        "client_generated_id": "[censored]"
      },
      "chat_message": {
        "message_content": {
          "segment": [
            {
              "type": "TEXT",
              "text": "[censored]",
              "formatting": {
                "bold": false,
                "italics": false,
                "strikethrough": false,
                "underline": false
              }
            },
            {
              "type": "LINE_BREAK",
              "text": "\n"
            },
            {
              "type": "LINE_BREAK",
              "text": "\n"
            },
            {
              "type": "TEXT",
              "text": "[censored]",
              "formatting": {
                "bold": false,
                "italics": false,
                "strikethrough": false,
                "underline": false
              }
            }
          ]
        }
      },

The above is an excerpt of a "Hangouts.json" to provide an example of a hangouts message that uses "line breaks", which can be done without copy-pasting by holding shift + enter. This example message pressed shift + enter twice, to separate two paragraphs. This formatting isn't currently preserved in any of the output formats "Hangons" offers. Is there any chance you will ever add support for this for any output method? Thanks for the consideration.

Also, the google docs form provided on the project page for feedback isn't working, it says "Sorry, the file you have requested has been deleted."

@David-Byrne
Copy link
Owner

Yeah that sounds like a good feature. I don't have capacity to implement it but I'll happily review any PRs for it

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

No branches or pull requests

2 participants