-
Notifications
You must be signed in to change notification settings - Fork 133
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 description of samp and add strike tag #184
Conversation
@@ -53,7 +53,7 @@ fun humanizeJoin(parts: Iterable<String>, separator: String): String { | |||
filteredParts.add(cutPart) | |||
} | |||
|
|||
return filteredParts.joinToString(separator = separator, transform = String::capitalize) + trailingParts.joinToString("", transform = String::capitalize) | |||
return filteredParts.joinToString(separator = separator) { it.capitalize() } + trailingParts.joinToString("") { it.capitalize() } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change was made since generation fails with exception:
* What went wrong:
Execution failed for task ':generate'.
> 'void kotlin.jvm.internal.FunctionReferenceImpl.<init>(int, java.lang.Class, java.lang.String, java.lang.String, int)'
strike is deprecated. Use s instead: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strike |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @MarcinAman, thanks for the PR.
Sorry for the long delay!
I've rebased the PR, fixed the tag name, and minor stuff.
LGTM
Follow-up of Kotlin update in: - #184
) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.jetbrains.kotlinx:kotlinx-html-jvm](https://togithub.com/Kotlin/kotlinx.html) | `0.10.1` -> `0.11.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlinx:kotlinx-html-jvm/0.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlinx:kotlinx-html-jvm/0.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlinx:kotlinx-html-jvm/0.10.1/0.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlinx:kotlinx-html-jvm/0.10.1/0.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>Kotlin/kotlinx.html (org.jetbrains.kotlinx:kotlinx-html-jvm)</summary> ### [`v0.11.0`](https://togithub.com/Kotlin/kotlinx.html/releases/tag/0.11.0) [Compare Source](https://togithub.com/Kotlin/kotlinx.html/compare/0.10.1...0.11.0) #### What's Changed - Add the `crossorigin` attribute to the `<script>` element by [@​lorenzsimon](https://togithub.com/lorenzsimon) in [https://github.com/Kotlin/kotlinx.html/pull/248](https://togithub.com/Kotlin/kotlinx.html/pull/248) - Security comment for unsafe by [@​vonox7](https://togithub.com/vonox7) in [https://github.com/Kotlin/kotlinx.html/pull/245](https://togithub.com/Kotlin/kotlinx.html/pull/245) - add <u></u> tag by [@​EnvyIT](https://togithub.com/EnvyIT) in [https://github.com/Kotlin/kotlinx.html/pull/241](https://togithub.com/Kotlin/kotlinx.html/pull/241) - Converted Repository into a class to force its instantiation in each execution of the generate task by [@​severn-everett](https://togithub.com/severn-everett) in [https://github.com/Kotlin/kotlinx.html/pull/222](https://togithub.com/Kotlin/kotlinx.html/pull/222) - Fix description of samp and add strike tag by [@​MarcinAman](https://togithub.com/MarcinAman) in [https://github.com/Kotlin/kotlinx.html/pull/184](https://togithub.com/Kotlin/kotlinx.html/pull/184) - Update Kotlin version in `README.md` badge by [@​SimonMarquis](https://togithub.com/SimonMarquis) in [https://github.com/Kotlin/kotlinx.html/pull/252](https://togithub.com/Kotlin/kotlinx.html/pull/252) - Add wasmJs target support. by [@​IlyaGulya](https://togithub.com/IlyaGulya) in [https://github.com/Kotlin/kotlinx.html/pull/251](https://togithub.com/Kotlin/kotlinx.html/pull/251) - Added loading attribute to img tag by [@​severn-everett](https://togithub.com/severn-everett) in [https://github.com/Kotlin/kotlinx.html/pull/220](https://togithub.com/Kotlin/kotlinx.html/pull/220) - Provides a short access to document elements by ID via delegated by [@​jonnyzzz](https://togithub.com/jonnyzzz) in [https://github.com/Kotlin/kotlinx.html/pull/126](https://togithub.com/Kotlin/kotlinx.html/pull/126) - Adding full list of HTML entities by [@​severn-everett](https://togithub.com/severn-everett) in [https://github.com/Kotlin/kotlinx.html/pull/209](https://togithub.com/Kotlin/kotlinx.html/pull/209) - fix samp documentation by [@​KotlinIsland](https://togithub.com/KotlinIsland) in [https://github.com/Kotlin/kotlinx.html/pull/172](https://togithub.com/Kotlin/kotlinx.html/pull/172) - Added onmouseenter and onmouseleave attributes by [@​vitek999](https://togithub.com/vitek999) in [https://github.com/Kotlin/kotlinx.html/pull/169](https://togithub.com/Kotlin/kotlinx.html/pull/169) #### New Contributors - [@​lorenzsimon](https://togithub.com/lorenzsimon) made their first contribution in [https://github.com/Kotlin/kotlinx.html/pull/248](https://togithub.com/Kotlin/kotlinx.html/pull/248) - [@​vonox7](https://togithub.com/vonox7) made their first contribution in [https://github.com/Kotlin/kotlinx.html/pull/245](https://togithub.com/Kotlin/kotlinx.html/pull/245) - [@​EnvyIT](https://togithub.com/EnvyIT) made their first contribution in [https://github.com/Kotlin/kotlinx.html/pull/241](https://togithub.com/Kotlin/kotlinx.html/pull/241) - [@​MarcinAman](https://togithub.com/MarcinAman) made their first contribution in [https://github.com/Kotlin/kotlinx.html/pull/184](https://togithub.com/Kotlin/kotlinx.html/pull/184) - [@​SimonMarquis](https://togithub.com/SimonMarquis) made their first contribution in [https://github.com/Kotlin/kotlinx.html/pull/252](https://togithub.com/Kotlin/kotlinx.html/pull/252) - [@​IlyaGulya](https://togithub.com/IlyaGulya) made their first contribution in [https://github.com/Kotlin/kotlinx.html/pull/251](https://togithub.com/Kotlin/kotlinx.html/pull/251) - [@​jonnyzzz](https://togithub.com/jonnyzzz) made their first contribution in [https://github.com/Kotlin/kotlinx.html/pull/126](https://togithub.com/Kotlin/kotlinx.html/pull/126) - [@​KotlinIsland](https://togithub.com/KotlinIsland) made their first contribution in [https://github.com/Kotlin/kotlinx.html/pull/172](https://togithub.com/Kotlin/kotlinx.html/pull/172) - [@​vitek999](https://togithub.com/vitek999) made their first contribution in [https://github.com/Kotlin/kotlinx.html/pull/169](https://togithub.com/Kotlin/kotlinx.html/pull/169) **Full Changelog**: Kotlin/kotlinx.html@0.10.1...0.11.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/DonRobo/home-former). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
No description provided.