We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e30d5d + 90084c5 commit 5387769Copy full SHA for 5387769
CHANGELOG.md
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
15
16
### Changed
17
18
+- `\n` in descriptions for multiline
19
- `_rererved` fields in `RegisterBlock` now hexidemical usize
20
- options can be set now with `svd2rust.toml` config
21
- option `ignore_groups` for optional disabling #506
src/util.rs
@@ -151,7 +151,10 @@ impl ToSanitizedPascalCase for str {
151
}
152
153
pub fn respace(s: &str) -> String {
154
- s.split_whitespace().collect::<Vec<_>>().join(" ")
+ s.split_whitespace()
155
+ .collect::<Vec<_>>()
156
+ .join(" ")
157
+ .replace(r"\n", "\n")
158
159
160
pub fn escape_brackets(s: &str) -> String {
0 commit comments