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

Fixing #617 #628

Merged
merged 4 commits into from
Apr 27, 2022
Merged

Fixing #617 #628

merged 4 commits into from
Apr 27, 2022

Conversation

tsdamas
Copy link
Contributor

@tsdamas tsdamas commented Apr 8, 2022

Hi @poppastring

I hope I made the pull request correctly. Please apologize in advance if not.

Please also let me know what you think and you feedback is very much appreciate it. :)

I believe using the regex was the way to go, as you mentioned. I create a foreach loop to go over the Post.Content and count the matches it found. I hope it fix the bug, if not please let me know and I will try to get other solution or improve this one.

Have a great one!

Copy link
Owner

@poppastring poppastring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for the PR!

Changes should be to this file only to support this update:
\source\DasBlog.Web.UI\TagHelpers\Post\PostReadTimeTagHelper.cs

Hopefully you are using Visual Studio. There are instructions here: https://github.com/poppastring/dasblog-core/blob/main/CONTRIBUTING.md#developers

I think you have inadvertently added this to a project file.

Please also rollback all the deletes also, if these files really are unnecessary, we can deal with that by adding a bug and creating a PR.

Thanks!

source/DasBlog All.sln Outdated Show resolved Hide resolved
tsdamas and others added 3 commits April 18, 2022 16:39
- Deleting code from DasBlogAll;
- Adding code for review to .../PostReadTimeTagHelper file;
@poppastring poppastring merged commit 7eb9823 into poppastring:main Apr 27, 2022
@poppastring
Copy link
Owner

@tsdamas Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants