<p>Before this commit, there was an "escape" flag that made the macro<br>
expansion keep '%%' escapes. But this did not work for macros<br>
that returned an '%' character by other means.</p>
<p>Remove the old escape mechanism and instead double the '%' characters<br>
when the body is split into argument.</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #1055.">Fixes</span>: <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="560926260" data-permission-text="Issue title is private" data-url="https://github.com/rpm-software-management/rpm/issues/1055" data-hovercard-type="issue" data-hovercard-url="/rpm-software-management/rpm/issues/1055/hovercard" href="https://github.com/rpm-software-management/rpm/issues/1055">#1055</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/rpm-software-management/rpm/pull/1058'>https://github.com/rpm-software-management/rpm/pull/1058</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Double the '%' chars when splitting macro args</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1058/files#diff-0">rpmio/macro.c</a>
    (11)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1058.patch'>https://github.com/rpm-software-management/rpm/pull/1058.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1058.diff'>https://github.com/rpm-software-management/rpm/pull/1058.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1058?email_source=notifications&email_token=ADLPZU7KAHSFO6OZ6IUA5ULRBQHYVA5CNFSM4KQ5DTCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILQQIQQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZUZBL3YZVLZSNUKQBSTRBQHYVANCNFSM4KQ5DTCA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU24HNS3W2F4EPJWNMTRBQHYVA5CNFSM4KQ5DTCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILQQIQQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1058?email_source=notifications\u0026email_token=ADLPZU7KAHSFO6OZ6IUA5ULRBQHYVA5CNFSM4KQ5DTCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILQQIQQ",
"url": "https://github.com/rpm-software-management/rpm/pull/1058?email_source=notifications\u0026email_token=ADLPZU7KAHSFO6OZ6IUA5ULRBQHYVA5CNFSM4KQ5DTCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILQQIQQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>