-
Notifications
You must be signed in to change notification settings - Fork 3
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
Title is rendered incorrectly #34
Comments
hi @rustysys-dev I guess this is coming from https://github.com/omallassi/adrust/blob/master/adr_core_local_impl/src/adr_repo/mod.rs#L369 do not hesitate to do a PR. thx. |
@omallassi Thanks for the response. I took a look into the code as well, and I couldn't find anything obvious, I will take a look at the Regex, and see if I can't make a PR. |
@rustysys-dev it should fix the issue. honestly, I should rework this more deeply. the initial idea with {%%ADR TITLE%%} was to be able to use this to replace title etc... but i did not finalize this. at least for the should be fixed now (in the master) |
looks good! It was exactly what I was planning to do this morning! Found the solution last night but couldn't miss my last train! Thanks! I think the regex would have also worked if you used capture group 0 |
After initially installing and configuring
adr
I run the following command.This creates
000001-test-adr.adoc
in my source directory as expected. However the output ofadr list
shows that the file was created with a broken title name.Opening the file in vim confirms the title is malformed.
== == test adr
I am using the default template (at the moment). The title line from the template seems to be OK.
I haven't looked into the rendering code yet, but I will be doing that shortly.
The text was updated successfully, but these errors were encountered: