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

Fix INI #2779

Merged
merged 3 commits into from Mar 2, 2021
Merged

Fix INI #2779

merged 3 commits into from Mar 2, 2021

Conversation

edukisto
Copy link
Contributor

@edukisto edukisto commented Mar 1, 2021

Sorry for being late! This PR resolves #2775. I’ve made the module mimic the behavior of Win32 API.

@github-actions
Copy link

github-actions bot commented Mar 1, 2021

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +121 B (+79.1%).

file master pull size diff % diff
components/prism-ini.min.js 153 B 274 B +121 B +79.1%

Generated by 🚫 dangerJS against 771dd26

@edukisto
Copy link
Contributor Author

edukisto commented Mar 1, 2021

I’ve also replaced constant with attr-name.

Copy link
Member

@RunDevelopment RunDevelopment left a comment

Choose a reason for hiding this comment

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

Great work @edukisto!

I have a few questions and suggestions.

Also, please add a comment with a link to your detailed explanation of the differences in INI parsers. And please also mention that Prism's INI implements the Win32 behaviour. This will make it easier for others to understand the code.

components/prism-ini.js Show resolved Hide resolved
components/prism-ini.js Outdated Show resolved Hide resolved
components/prism-ini.js Outdated Show resolved Hide resolved
components/prism-ini.js Outdated Show resolved Hide resolved
@RunDevelopment RunDevelopment merged commit 42d24fa into PrismJS:master Mar 2, 2021
@RunDevelopment
Copy link
Member

Thank you for contributing @edukisto!

@edukisto edukisto deleted the topic-2775 branch March 2, 2021 14:11
@edukisto
Copy link
Contributor Author

edukisto commented Mar 2, 2021

Thank you for your help and guidance, @RunDevelopment!

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

Successfully merging this pull request may close these issues.

Several highlighting bugs in INI
2 participants