I would like to locally deactivate the colon character (made active by babel package used with frenchb option). But it appears to not work within a macro:
\documentclass{article}
\usepackage[frenchb]{babel}
\begin{document}
In normal text: {\NoAutoSpacing 20:20}. % working
In a macro: \textsuperscript{\NoAutoSpacing 20:20} % not working
\end{document}
This appears to be the same using \shorthandoff{:} and \shorthandon{:} (as a consequence, this is linked to this topic but I don't clearly see how it applies here.).
Thank you for your help.

:. – Steven B. Segletes Aug 13 '18 at 14:1120\string:20– egreg Aug 13 '18 at 14:16