Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tag release#52

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

davidwessman
Copy link

- Based on syntax_tree-xml- Added an example that uses multiple ERB-features and blocks
- Added some more specific test cases to easily track regressions
- A block containing the word `do` generated some errors.In```ruby<% what_to_do do |form| %>```the `do` at the end of `what_to_do` was interpreted as the start ofa block. To avoid this all erb-code is now parsed between word boundaries.So `what_to_do` will become one Token with type `erb_code`.
The following code caused errors:```<%= link_to("Düsseldorf", "http://duesseldorf.de") %>```
```html<p>Here is a "<em><%= quote %></em>" in HTML</p>```
In Vue we often use```<button-component>  <template #button-content>    Hello  </template></button-component>```
Vue uses syntax like `v-b-modal.name_of_the_modal` for attribute names.
```<div class=card></div>```can now be parsed and formatted as```<div></div>```
- Every time comments are formatted, another space was  added to the end of it.
- Changes the maximum width for IfOp (ternary) as well as IfNode.
davidwessmanand others added27 commitsJuly 2, 2023 12:24
Example:```erb<% # this is a comment %>```Output:```diff-<%--  # this is a comment-%>+<% # this is a comment %>```
Bumps [minitest](https://github.com/minitest/minitest) from 5.18.1 to 5.19.0.- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)- [Commits](minitest/minitest@v5.18.1...v5.19.0)---updated-dependencies:- dependency-name: minitest  dependency-type: direct:development  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Co-authored-by: David Wessman <david.wesmn@gmail.com>
- Support ERB-tags before DOCTYPE.- Parse error on multiple DOCTYPE elements.
- If it is the last element in a block, remove the trailing whitespace
…62)* Avoid grouping single elements* Handles ERB-comments with newlines
```erb<div <%= "class='foo'" %>>  <p>hello</p></div>```
* Handles spaces after do-arguments in ERB-tags* Release 0.10.5
Fixes closing tags of <summary>
Bumps [minitest](https://github.com/minitest/minitest) from 5.19.0 to 5.20.0.- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)- [Commits](minitest/minitest@v5.19.0...v5.20.0)---updated-dependencies:- dependency-name: minitest  dependency-type: direct:development  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [syntax_tree](https://github.com/kddnewton/syntax_tree) from 6.1.1 to 6.2.0.- [Changelog](https://github.com/ruby-syntax-tree/syntax_tree/blob/main/CHANGELOG.md)- [Commits](ruby-syntax-tree/syntax_tree@v6.1.1...v6.2.0)---updated-dependencies:- dependency-name: syntax_tree  dependency-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [rake](https://github.com/ruby/rake) from 13.0.6 to 13.1.0.- [Release notes](https://github.com/ruby/rake/releases)- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)- [Commits](ruby/rake@v13.0.6...v13.1.0)---updated-dependencies:- dependency-name: rake  dependency-type: direct:development  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add instruction for installing husky* Add failing test for void elements* Allow parsing and formatting for unclosed void elements
- Adds Ruby 3.3 to the test matrix- Adds .tool-versions for asdf support
@davidwessmandavidwessman deleted the tag-release branchApril 23, 2024 19:42
@davidwessmandavidwessman restored the tag-release branchApril 23, 2024 19:45
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@davidwessman@rdimartino

[8]ページ先頭

©2009-2025 Movatter.jp