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

Does Compose needs a character counter? #136

Open
cheesemaker opened this issue Oct 16, 2020 · 1 comment
Open

Does Compose needs a character counter? #136

cheesemaker opened this issue Oct 16, 2020 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@cheesemaker
Copy link
Collaborator

No description provided.

@cheesemaker cheesemaker added the question Further information is requested label Oct 16, 2020
@manton
Copy link
Contributor

manton commented Aug 6, 2021

Answer: probably. The Micro.blog app counts characters after any Markdown has been processed and ignoring HTML tags. So, it runs the text through Markdown → HTML, then gets the text version of the HTML and counts that. So **hi** is only 2 characters, and so is <a href="">hi</a>.

If a post is longer and shows the title field (4+ photos in Sunlit, I think), the character counter should be hidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants