Bug using markdown inside \shared-input within a template

What I did:
Created a template with \shared-input action
Passed this markdown in template-input as part of an x-callback-url Create

# Journal Entry for Fri, Dec 04 2020 
## Calendar Entries   
- Magic Sleeve Limited Edition   
- Beth - PT   
## Tasks Completed  
- Test 2 Due: Dec 4, 2020 at 12:00 AM Completed: Dec 4, 2020 at 7:08 PM  
- Test Due: Dec 4, 2020 at 12:00 AM Completed: Dec 4, 2020 at 7:08 PM  

What happened:
Markdown was not parsed correctly
Image of result:

What I expected:
Having that exact same markdown inside the text parameter to x-callback-url create works fine.
Replacing the \shared-input action with that markdown should also work correctly.

Things that might be helpful to know (Agenda version, OS and model, etc):
Agenda 11.2
iPadOS 14.2
iPad Pro 11 inch 2018

Could you share the exact callback url you used? Could this have been caused by incorrect escaping?

The callback URL is:
agenda://x-callback-url/create-note?project-title=Journal 2020&title=Text&on-the-agenda=true&date=Current Date&text=Text

Title=Text, Text=Text use the Magic Variable from two different Text Shortcut actions.

I am currently not using a URL encoding action, but I am sending the above into a URL Shortcuts action which apparently does encode it…

Body Text is:

# Journal Entry for Sun, Dec 06 2020 
### Calendar Entries  
- Haircut and coloring  
### Tasks Completed  
- Update numbers timesheets with timesheet.app data Due: Dec 6, 2020 at 12:00 AM Completed: Dec 6, 2020 at 9:48 AM  
- Generate tip report for Ixtapa RR Due: Dec 6, 2020 at 12:00 AM Completed: Dec 6, 2020 at 10:32 AM  
- Computer Data Management Due: Dec 5, 2020 at 12:00 AM Completed: Dec 6, 2020 at 11:11 AM  
### What did I do?
- xx
### What did I learn?
- xx
### How do I feel today?
- xx
### Food eaten today
- xx

The Shortcut ends with:

Sorry, please ignore that last reply… I was pulling from the wrong version of the shortcut.

Ok, trying again with the correct information.

URL:

agenda://x-callback-url/create-note?project-title=Journal 2020&title=Text&on-the-agenda=true&date=Current Date&template-name=Journal Entry&template-input=Text

Journal Entry template content::

\shared-content
### What did I do?
– xx
### What did I learn?
– xx
### How do I feel today?
– xx
### Food eaten today
– xx

Template-Input content:

# Journal Entry for Sun, Dec 06 2020 
### Calendar Entries  
- Haircut and coloring  
### Tasks Completed  
- Update numbers timesheets with timesheet.app data Due: Dec 6, 2020 at 12:00 AM Completed: Dec 6, 2020 at 9:48 AM  
- Generate tip report for Ixtapa RR Due: Dec 6, 2020 at 12:00 AM Completed: Dec 6, 2020 at 10:32 AM  
- Computer Data Management Due: Dec 5, 2020 at 12:00 AM Completed: Dec 6, 2020 at 11:11 AM  

Final note in Agenda:

Journal Entry for Sun, Dec 06 2020 
### Calendar Entries  
Haircut and coloring  
### Tasks Completed  
Update numbers timesheets with timesheet.app data Due: Dec 6, 2020 at 12:00 AM Completed: Dec 6, 2020 at 9:48 AM  
Generate tip report for Ixtapa RR Due: Dec 6, 2020 at 12:00 AM Completed: Dec 6, 2020 at 10:32 AM  
Computer Data Management Due: Dec 5, 2020 at 12:00 AM Completed: Dec 6, 2020 at 11:11 AM  
What did I do?
–	xx
What did I learn?
–	xx
How do I feel today?
–	xx
Food eaten today
–	xx

I did some experimenting and found a workaround…

If I start the template-input with a newline the final markdown output looks as it should.

This fails to format properly:

### Calendar Entries
– Haircut and coloring
### Tasks Completed
– Update numbers timesheets with timesheet.app data Due: Dec 6, 2020 at 12:00 AM Completed: Dec 6, 2020 at 9:48 AM
– Generate tip report for Ixtapa RR Due: Dec 6, 2020 at 12:00 AM Completed: Dec 6, 2020 at 10:32 AM
– Computer Data Management Due: Dec 5, 2020 at 12:00 AM Completed: Dec 6, 2020 at 11:11 AM

This formats normally:


### Calendar Entries
– Haircut and coloring
### Tasks Completed
– Update numbers timesheets with timesheet.app data Due: Dec 6, 2020 at 12:00 AM Completed: Dec 6, 2020 at 9:48 AM
– Generate tip report for Ixtapa RR Due: Dec 6, 2020 at 12:00 AM Completed: Dec 6, 2020 at 10:32 AM
– Computer Data Management Due: Dec 5, 2020 at 12:00 AM Completed: Dec 6, 2020 at 11:11 AM

Thanks, that’s very helpful, we’ll investigate what the difference is.