Skip to content
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

Replace text inside code block (complex) 400 Error #90

Open
Songyu-Wang opened this issue Apr 12, 2021 · 0 comments
Open

Replace text inside code block (complex) 400 Error #90

Songyu-Wang opened this issue Apr 12, 2021 · 0 comments

Comments

@Songyu-Wang
Copy link

Hello,
I have this block:
image
And I am trying to replace the content with the edit_document() function

old string: <pre class="prettyprint" id="OcCACAd67Ie"><a href="http://w=66&amp;projectKey">https://bCH<br/> akhasdkhasdkdhas (Does not work here)<br/>akhasdkhasdkdhasakhasdkhasdkdhasakhasdkhasdkdhas</a></pre>

new string: <pre class="prettyprint" id="OcCACAd67Ie"><a href="http://w=66&amp;projectKey">123<br/> akhasdkhasdkdhas (Does not work here)<br/>akhasdkhasdkdhasakhasdkhasdkdhasakhasdkhasdkdhas</a></pre>

And I got QuipError: 400: Only one section allowed for replacement
As far as I can tell, there is only one section which is the OcCACAd67Ie. I am not sure how can I get this to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant